# near model CODE resource # jump table entries: 32849-32855 (7 of them) fn00000000: 00000000 4E56 FFFC link A6, -0x0004 00000004 0C6D 0005 EC4A cmpi.w [A5 - 0x13B6], 0x5 0000000A 6700 00BC beq +0xBE /* 000000C8 */ 0000000E 598F subq.l A7, 4 00000010 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000014 42A7 clr.l -[A7] 00000016 4878 FFFF push.l 0xFFFF 0000001A A97C syscall GetNewDialog 0000001C 205F movea.l A0, [A7]+ 0000001E 2B48 EC32 move.l [A5 - 0x13CE], A0 00000022 302D EC4A move.w D0, [A5 - 0x13B6] 00000026 48C0 ext.l D0 00000028 E580 asl D0, 2 0000002A 41ED EC36 lea.l A0, [A5 - 0x13CA] 0000002E D1C0 add.l A0, D0 00000030 20AD EC32 move.l [A0], [A5 - 0x13CE] 00000034 526D EC4A addq.w [A5 - 0x13B6], 1 00000038 3F2E 0008 move.w -[A7], [A6 + 0x8] 0000003C 4EBA 04D0 jsr [PC + 0x4D0 /* 0000050E */] 00000040 548F addq.l A7, 2 00000042 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00000046 A915 syscall ShowWindow 00000048 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000004C A981 syscall DrawDialog 0000004E 4EBA 0174 jsr [PC + 0x174 /* 000001C4 */] label00000052: 00000052 42A7 clr.l -[A7] 00000054 486E FFFE pea.l [A6 - 0x2] 00000058 A991 syscall ModalDialog 0000005A 3F2E FFFE move.w -[A7], [A6 - 0x2] 0000005E 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000062 4EBA 04EC jsr [PC + 0x4EC /* 00000550 */] 00000066 588F addq.l A7, 4 00000068 3D40 FFFC move.w [A6 - 0x4], D0 0000006C 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1 00000072 6708 beq +0xA /* 0000007C */ 00000074 0C6E 0002 FFFC cmpi.w [A6 - 0x4], 0x2 0000007A 66D6 bne -0x28 /* 00000052 */ label0000007C: 0000007C 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1 00000082 660A bne +0xC /* 0000008E */ 00000084 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000088 4EBA 0534 jsr [PC + 0x534 /* 000005BE */] 0000008C 548F addq.l A7, 2 label0000008E: 0000008E 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00000092 A983 syscall DisposeDialog 00000094 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1 0000009A 660A bne +0xC /* 000000A6 */ 0000009C 3F2E 0008 move.w -[A7], [A6 + 0x8] 000000A0 4EBA 0554 jsr [PC + 0x554 /* 000005F6 */] 000000A4 548F addq.l A7, 2 label000000A6: 000000A6 536D EC4A subq.w [A5 - 0x13B6], 1 000000AA 4A6D EC4A tst.w [A5 - 0x13B6] 000000AE 6714 beq +0x16 /* 000000C4 */ 000000B0 302D EC4A move.w D0, [A5 - 0x13B6] 000000B4 5340 subq.w D0, 1 000000B6 48C0 ext.l D0 000000B8 E580 asl D0, 2 000000BA 41ED EC36 lea.l A0, [A5 - 0x13CA] 000000BE D1C0 add.l A0, D0 000000C0 2B50 EC32 move.l [A5 - 0x13CE], [A0] label000000C4: 000000C4 302E FFFC move.w D0, [A6 - 0x4] label000000C8: 000000C8 4E5E unlink A6 000000CA 4E75 rts 000000CC 4841 swap.w D1 000000CE 4E44 trap 4 000000D0 4C45 4449 movem.l D0,D3,D6,A2,A6, D5 fn000000D4: 000000D4 4E56 0000 link A6, 0 000000D8 0C6D 0005 EC4A cmpi.w [A5 - 0x13B6], 0x5 000000DE 674A beq +0x4C /* 0000012A */ 000000E0 302E 0008 move.w D0, [A6 + 0x8] 000000E4 3B40 EC4E move.w [A5 - 0x13B2], D0 000000E8 598F subq.l A7, 4 000000EA 3F00 move.w -[A7], D0 000000EC 42A7 clr.l -[A7] 000000EE 4878 FFFF push.l 0xFFFF 000000F2 A97C syscall GetNewDialog 000000F4 205F movea.l A0, [A7]+ 000000F6 2B48 EC32 move.l [A5 - 0x13CE], A0 000000FA 302D EC4A move.w D0, [A5 - 0x13B6] 000000FE 48C0 ext.l D0 00000100 E580 asl D0, 2 00000102 41ED EC36 lea.l A0, [A5 - 0x13CA] 00000106 D1C0 add.l A0, D0 00000108 20AD EC32 move.l [A0], [A5 - 0x13CE] 0000010C 526D EC4A addq.w [A5 - 0x13B6], 1 00000110 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000114 4EBA 03F8 jsr [PC + 0x3F8 /* 0000050E */] 00000118 548F addq.l A7, 2 0000011A 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000011E A915 syscall ShowWindow 00000120 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00000124 A981 syscall DrawDialog 00000126 4EBA 009C jsr [PC + 0x9C /* 000001C4 */] label0000012A: 0000012A 4E5E unlink A6 0000012C 4E75 rts 0000012E 5354 subq.w [A4], 1 00000130 4152 chk.w D0, [A2] 00000132 544D addq.w A5, 2 00000134 4F44 chk.w D7, D4 fn00000136: 00000136 0C6D 0001 EC4C cmpi.w [A5 - 0x13B4], 0x1 0000013C 660A bne +0xC /* 00000148 */ 0000013E 3F2D EC4E move.w -[A7], [A5 - 0x13B2] 00000142 4EBA 047A jsr [PC + 0x47A /* 000005BE */] 00000146 548F addq.l A7, 2 label00000148: 00000148 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000014C A983 syscall DisposeDialog 0000014E 0C6D 0001 EC4C cmpi.w [A5 - 0x13B4], 0x1 00000154 660A bne +0xC /* 00000160 */ 00000156 3F2D EC4E move.w -[A7], [A5 - 0x13B2] 0000015A 4EBA 049A jsr [PC + 0x49A /* 000005F6 */] 0000015E 548F addq.l A7, 2 label00000160: 00000160 536D EC4A subq.w [A5 - 0x13B6], 1 00000164 4A6D EC4A tst.w [A5 - 0x13B6] 00000168 6714 beq +0x16 /* 0000017E */ 0000016A 302D EC4A move.w D0, [A5 - 0x13B6] 0000016E 5340 subq.w D0, 1 00000170 48C0 ext.l D0 00000172 E580 asl D0, 2 00000174 41ED EC36 lea.l A0, [A5 - 0x13CA] 00000178 D1C0 add.l A0, D0 0000017A 2B50 EC32 move.l [A5 - 0x13CE], [A0] label0000017E: 0000017E 302D EC4C move.w D0, [A5 - 0x13B4] 00000182 4E75 rts fn00000184: 00000184 4E56 FFFC link A6, -0x0004 00000188 426D EC4C clr.w [A5 - 0x13B4] 0000018C 558F subq.l A7, 2 0000018E 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000192 486E FFFC pea.l [A6 - 0x4] 00000196 486D EC4C pea.l [A5 - 0x13B4] 0000019A A980 syscall DialogSelect 0000019C 101F move.b D0, [A7]+ 0000019E 4A00 tst.b D0 000001A0 6712 beq +0x14 /* 000001B4 */ 000001A2 3F2D EC4C move.w -[A7], [A5 - 0x13B4] 000001A6 3F2D EC4E move.w -[A7], [A5 - 0x13B2] 000001AA 4EBA 03A4 jsr [PC + 0x3A4 /* 00000550 */] 000001AE 588F addq.l A7, 4 000001B0 3B40 EC4C move.w [A5 - 0x13B4], D0 label000001B4: 000001B4 302D EC4C move.w D0, [A5 - 0x13B4] 000001B8 4E5E unlink A6 000001BA 4E75 rts 000001BC 4D4F chk.w D6, A7 000001BE 4445 neg.w D5 000001C0 4C45 5353 movem.l D0,D1,D4,D6,A0,A1,A4,A6, D5 fn000001C4: 000001C4 4E56 FFF2 link A6, -0x000E 000001C8 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000001CC 3F3C 0001 move.w -[A7], 0x1 000001D0 486E FFFE pea.l [A6 - 0x2] 000001D4 486E FFFA pea.l [A6 - 0x6] 000001D8 486E FFF2 pea.l [A6 - 0xE] 000001DC A98D syscall GetDialogItem/GetDItem 000001DE 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000001E2 A873 syscall SetPort 000001E4 486D FD0C pea.l [A5 - 0x2F4] 000001E8 A89D syscall PenPat 000001EA 3F3C 0003 move.w -[A7], 0x3 000001EE 3F3C 0003 move.w -[A7], 0x3 000001F2 A89B syscall PenSize 000001F4 486E FFF2 pea.l [A6 - 0xE] 000001F8 3F3C FFFC move.w -[A7], 0xFFFC 000001FC 3F3C FFFC move.w -[A7], 0xFFFC 00000200 A8A9 syscall InsetRect 00000202 486E FFF2 pea.l [A6 - 0xE] 00000206 3F3C 0010 move.w -[A7], 0x10 0000020A 3F3C 0010 move.w -[A7], 0x10 0000020E A8B0 syscall FrameRoundRect 00000210 4E5E unlink A6 00000212 4E75 rts 00000214 4445 neg.w D5 00000216 4641 not.w D1 00000218 554C subq.w A4, 2 0000021A 5442 addq.w D2, 2 fn0000021C: 0000021C 4E56 FFE8 link A6, -0x0018 00000220 426E FFF4 clr.w [A6 - 0xC] 00000224 598F subq.l A7, 4 00000226 A8D8 syscall NewRgn 00000228 205F movea.l A0, [A7]+ 0000022A 2D48 FFE8 move.l [A6 - 0x18], A0 0000022E A8DA syscall OpenRgn 00000230 3D6E 0008 FFFE move.w [A6 - 0x2], [A6 + 0x8] 00000236 6000 005E bra +0x60 /* 00000296 */ label0000023A: 0000023A 302E FFFE move.w D0, [A6 - 0x2] 0000023E B06E 000C cmp.w D0, [A6 + 0xC] 00000242 6704 beq +0x6 /* 00000248 */ 00000244 7000 moveq.l D0, 0x00 00000246 6002 bra +0x4 /* 0000024A */ label00000248: 00000248 7001 moveq.l D0, 0x01 label0000024A: 0000024A 3D40 FFF6 move.w [A6 - 0xA], D0 0000024E 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00000252 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000256 486E FFF8 pea.l [A6 - 0x8] 0000025A 486E FFFA pea.l [A6 - 0x6] 0000025E 486E FFEC pea.l [A6 - 0x14] 00000262 A98D syscall GetDialogItem/GetDItem 00000264 558F subq.l A7, 2 00000266 2F2E FFFA move.l -[A7], [A6 - 0x6] 0000026A A960 syscall GetControlValue/GetCtlValue 0000026C 301F move.w D0, [A7]+ 0000026E 3D40 FFF8 move.w [A6 - 0x8], D0 00000272 302E FFF8 move.w D0, [A6 - 0x8] 00000276 B06E FFF6 cmp.w D0, [A6 - 0xA] 0000027A 6716 beq +0x18 /* 00000292 */ 0000027C 2F2E FFFA move.l -[A7], [A6 - 0x6] 00000280 3F2E FFF6 move.w -[A7], [A6 - 0xA] 00000284 A963 syscall SetControlValue/SetCtlValue 00000286 486E FFEC pea.l [A6 - 0x14] 0000028A A8A1 syscall FrameRect 0000028C 7001 moveq.l D0, 0x01 0000028E 3D40 FFF4 move.w [A6 - 0xC], D0 label00000292: 00000292 526E FFFE addq.w [A6 - 0x2], 1 label00000296: 00000296 302E FFFE move.w D0, [A6 - 0x2] 0000029A B06E 000A cmp.w D0, [A6 + 0xA] 0000029E 6F9A ble -0x64 /* 0000023A */ 000002A0 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000002A4 A8DB syscall CloseRgn 000002A6 4A6E FFF4 tst.w [A6 - 0xC] 000002AA 670A beq +0xC /* 000002B6 */ 000002AC 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000002B0 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000002B4 A978 syscall UpdtDialog label000002B6: 000002B6 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000002BA A8D9 syscall DisposRgn/DisposeRgn 000002BC 302E FFF4 move.w D0, [A6 - 0xC] 000002C0 4E5E unlink A6 000002C2 4E75 rts 000002C4 5241 addq.w D1, 1 000002C6 4449 neg.w A1 000002C8 4F53 chk.w D7, [A3] 000002CA 2020 move.l D0, -[A0] fn000002CC: 000002CC 4E56 FFF0 link A6, -0x0010 000002D0 3D6E 0008 FFFE move.w [A6 - 0x2], [A6 + 0x8] 000002D6 6034 bra +0x36 /* 0000030C */ label000002D8: 000002D8 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000002DC 3F2E FFFE move.w -[A7], [A6 - 0x2] 000002E0 486E FFFC pea.l [A6 - 0x4] 000002E4 486E FFF8 pea.l [A6 - 0x8] 000002E8 486E FFF0 pea.l [A6 - 0x10] 000002EC A98D syscall GetDialogItem/GetDItem 000002EE 558F subq.l A7, 2 000002F0 2F2E FFF8 move.l -[A7], [A6 - 0x8] 000002F4 A960 syscall GetControlValue/GetCtlValue 000002F6 301F move.w D0, [A7]+ 000002F8 3D40 FFFC move.w [A6 - 0x4], D0 000002FC 4A6E FFFC tst.w [A6 - 0x4] 00000300 6706 beq +0x8 /* 00000308 */ 00000302 302E FFFE move.w D0, [A6 - 0x2] 00000306 6010 bra +0x12 /* 00000318 */ label00000308: 00000308 526E FFFE addq.w [A6 - 0x2], 1 label0000030C: 0000030C 302E FFFE move.w D0, [A6 - 0x2] 00000310 B06E 000A cmp.w D0, [A6 + 0xA] 00000314 6FC2 ble -0x3C /* 000002D8 */ 00000316 70FF moveq.l D0, 0xFFFFFFFF label00000318: 00000318 4E5E unlink A6 0000031A 4E75 rts 0000031C 5152 subq.w [A2], 8 0000031E 4144 chk.w D0, D4 00000320 494F chk.w D4, A7 00000322 5320 subq.b -[A0], 1 fn00000324: 00000324 4E56 FEF2 link A6, -0x010E 00000328 2F2E 000A move.l -[A7], [A6 + 0xA] 0000032C 486E FEF2 pea.l [A6 - 0x10E] 00000330 4EAD 00EA jsr [A5 + 0xEA /* export_25 */] 00000334 508F addq.l A7, 8 00000336 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000033A 3F2E 0008 move.w -[A7], [A6 + 0x8] 0000033E 486E FFFE pea.l [A6 - 0x2] 00000342 486E FFF2 pea.l [A6 - 0xE] 00000346 486E FFF6 pea.l [A6 - 0xA] 0000034A A98D syscall GetDialogItem/GetDItem 0000034C 486E FEF2 pea.l [A6 - 0x10E] 00000350 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00000354 588F addq.l A7, 4 00000356 2F2E FFF2 move.l -[A7], [A6 - 0xE] 0000035A 486E FEF2 pea.l [A6 - 0x10E] 0000035E A98F syscall SetDialogItemText/SetIText 00000360 4E5E unlink A6 00000362 4E75 rts 00000364 5345 subq.w D5, 1 00000366 5454 addq.w [A4], 2 00000368 4558 chk.w D2, [A0]+ 0000036A 5420 addq.b -[A0], 2 fn0000036C: 0000036C 4E56 FFF2 link A6, -0x000E 00000370 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00000374 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000378 486E FFFE pea.l [A6 - 0x2] 0000037C 486E FFF2 pea.l [A6 - 0xE] 00000380 486E FFF6 pea.l [A6 - 0xA] 00000384 A98D syscall GetDialogItem/GetDItem 00000386 2F2E FFF2 move.l -[A7], [A6 - 0xE] 0000038A 2F2E 000A move.l -[A7], [A6 + 0xA] 0000038E A98F syscall SetDialogItemText/SetIText 00000390 4E5E unlink A6 00000392 4E75 rts 00000394 5345 subq.w D5, 1 00000396 5450 addq.w [A0], 2 00000398 5445 addq.w D5, 2 0000039A 5854 addq.w [A4], 4 fn0000039C: 0000039C 4E56 FFA2 link A6, -0x005E 000003A0 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000003A4 3F2E 0008 move.w -[A7], [A6 + 0x8] 000003A8 486E FFFE pea.l [A6 - 0x2] 000003AC 486E FFF2 pea.l [A6 - 0xE] 000003B0 486E FFF6 pea.l [A6 - 0xA] 000003B4 A98D syscall GetDialogItem/GetDItem 000003B6 2F2E FFF2 move.l -[A7], [A6 - 0xE] 000003BA 486E FFA2 pea.l [A6 - 0x5E] 000003BE A990 syscall GetDialogItemText/GetIText 000003C0 486E FFA2 pea.l [A6 - 0x5E] 000003C4 4EAD 0172 jsr [A5 + 0x172 /* export_42 */] 000003C8 588F addq.l A7, 4 000003CA 3F3C 001E move.w -[A7], 0x1E 000003CE 486E FFA2 pea.l [A6 - 0x5E] 000003D2 2F2E 000A move.l -[A7], [A6 + 0xA] 000003D6 4EAD 00CA jsr [A5 + 0xCA /* export_21 */] 000003DA 4FEF 000A lea.l A7, [A7 + 0xA] 000003DE 206E 000A movea.l A0, [A6 + 0xA] 000003E2 4228 001E clr.b [A0 + 0x1E] 000003E6 6016 bra +0x18 /* 000003FE */ label000003E8: 000003E8 206E 000A movea.l A0, [A6 + 0xA] 000003EC 0C10 000D cmpi.b [A0], 0xD /* '\r' */ 000003F0 6608 bne +0xA /* 000003FA */ 000003F2 206E 000A movea.l A0, [A6 + 0xA] 000003F6 7020 moveq.l D0, 0x20 000003F8 1080 move.b [A0], D0 label000003FA: 000003FA 52AE 000A addq.l [A6 + 0xA], 1 label000003FE: 000003FE 206E 000A movea.l A0, [A6 + 0xA] 00000402 4A10 tst.b [A0] 00000404 66E2 bne -0x1C /* 000003E8 */ 00000406 4E5E unlink A6 00000408 4E75 rts 0000040A 4745 chk.w D3, D5 0000040C 5454 addq.w [A4], 2 0000040E 4558 chk.w D2, [A0]+ 00000410 5420 addq.b -[A0], 2 00000412 4E56 FFEC link A6, -0x0014 00000416 426E FFF8 clr.w [A6 - 0x8] 0000041A 598F subq.l A7, 4 0000041C A8D8 syscall NewRgn 0000041E 205F movea.l A0, [A7]+ 00000420 2D48 FFEC move.l [A6 - 0x14], A0 00000424 A8DA syscall OpenRgn 00000426 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000042A 3F2E 0008 move.w -[A7], [A6 + 0x8] 0000042E 486E FFFA pea.l [A6 - 0x6] 00000432 486E FFFC pea.l [A6 - 0x4] 00000436 486E FFF0 pea.l [A6 - 0x10] 0000043A A98D syscall GetDialogItem/GetDItem 0000043C 558F subq.l A7, 2 0000043E 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000442 A960 syscall GetControlValue/GetCtlValue 00000444 301F move.w D0, [A7]+ 00000446 3D40 FFFA move.w [A6 - 0x6], D0 0000044A 0C6E 0002 000A cmpi.w [A6 + 0xA], 0x2 00000450 660A bne +0xC /* 0000045C */ 00000452 7001 moveq.l D0, 0x01 00000454 906E FFFA sub.w D0, [A6 - 0x6] 00000458 3D40 000A move.w [A6 + 0xA], D0 label0000045C: 0000045C 302E FFFA move.w D0, [A6 - 0x6] 00000460 B06E 000A cmp.w D0, [A6 + 0xA] 00000464 6716 beq +0x18 /* 0000047C */ 00000466 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000046A 3F2E 000A move.w -[A7], [A6 + 0xA] 0000046E A963 syscall SetControlValue/SetCtlValue 00000470 486E FFF0 pea.l [A6 - 0x10] 00000474 A8A1 syscall FrameRect 00000476 7001 moveq.l D0, 0x01 00000478 3D40 FFF8 move.w [A6 - 0x8], D0 label0000047C: 0000047C 2F2E FFEC move.l -[A7], [A6 - 0x14] 00000480 A8DB syscall CloseRgn 00000482 4A6E FFF8 tst.w [A6 - 0x8] 00000486 670A beq +0xC /* 00000492 */ 00000488 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000048C 2F2E FFEC move.l -[A7], [A6 - 0x14] 00000490 A978 syscall UpdtDialog label00000492: 00000492 2F2E FFEC move.l -[A7], [A6 - 0x14] 00000496 A8D9 syscall DisposRgn/DisposeRgn 00000498 302E 000A move.w D0, [A6 + 0xA] 0000049C 4E5E unlink A6 0000049E 4E75 rts 000004A0 4348 chk.w D1, A0 000004A2 4543 chk.w D2, D3 000004A4 4B42 chk.w D5, D2 000004A6 4F58 chk.w D7, [A0]+ 000004A8 4E56 FFF2 link A6, -0x000E 000004AC 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000004B0 3F2E 0008 move.w -[A7], [A6 + 0x8] 000004B4 486E FFFA pea.l [A6 - 0x6] 000004B8 486E FFFC pea.l [A6 - 0x4] 000004BC 486E FFF2 pea.l [A6 - 0xE] 000004C0 A98D syscall GetDialogItem/GetDItem 000004C2 558F subq.l A7, 2 000004C4 2F2E FFFC move.l -[A7], [A6 - 0x4] 000004C8 A960 syscall GetControlValue/GetCtlValue 000004CA 301F move.w D0, [A7]+ 000004CC 4E5E unlink A6 000004CE 4E75 rts 000004D0 5143 subq.w D3, 8 000004D2 4845 swap.w D5 000004D4 434B chk.w D1, A3 000004D6 424F clr.w A7 fn000004D8: 000004D8 4E56 FF8E link A6, -0x0072 000004DC 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000004E0 3F2E 0008 move.w -[A7], [A6 + 0x8] 000004E4 486E FFFE pea.l [A6 - 0x2] 000004E8 486E FFF2 pea.l [A6 - 0xE] 000004EC 486E FFF6 pea.l [A6 - 0xA] 000004F0 A98D syscall GetDialogItem/GetDItem 000004F2 2F2E FFF2 move.l -[A7], [A6 - 0xE] 000004F6 486E FF8E pea.l [A6 - 0x72] 000004FA A990 syscall GetDialogItemText/GetIText 000004FC 102E FF8E move.b D0, [A6 - 0x72] 00000500 4880 ext.w D0 00000502 4E5E unlink A6 00000504 4E75 rts 00000506 4449 neg.w A1 00000508 4448 neg.w A0 0000050A 4554 chk.w D2, [A4] 0000050C 5950 subq.w [A0], 4 fn0000050E: 0000050E 4E56 0000 link A6, 0 00000512 302E 0008 move.w D0, [A6 + 0x8] 00000516 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 0000051A 0004 0012 ori.b D4, 0x12 0000051E 0084 0014 012D ori.l D4, 0x14012D 00000524 0016 012E ori.b [A6], 0x2E /* '.' */ 00000528 0018 07D0 ori.b [A0]+, 0xD0 0000052C 0018 4EBA ori.b [A0]+, 0xBA 00000530 3BE8 6010 move.w <>, [A0 + 0x6010] 00000534 4EBA 4622 jsr [PC + 0x4622 /* 00004B58 */] 00000538 600A bra +0xC /* 00000544 */ 0000053A 4EBA 4744 jsr [PC + 0x4744 /* 00004C80 */] 0000053E 6004 bra +0x6 /* 00000544 */ 00000540 4EBA 11B2 jsr [PC + 0x11B2 /* 000016F4 */] label00000544: 00000544 4E5E unlink A6 00000546 4E75 rts 00000548 494E chk.w D4, A6 0000054A 4954 chk.w D4, [A4] 0000054C 4449 neg.w A1 0000054E 414C chk.w D0, A4 fn00000550: 00000550 4E56 0000 link A6, 0 00000554 302E 0008 move.w D0, [A6 + 0x8] 00000558 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 0000055C 0004 0012 ori.b D4, 0x12 00000560 0084 001E 0085 ori.l D4, 0x1E0085 00000566 002A 012D 0036 ori.b [A2 + 0x36], 0x2D /* '-' */ 0000056C 07D0 .incomplete 0000056E 0040 3F2E ori.w D0, 0x3F2E /* '?.' */ 00000572 000A 4EBA ori.b A2, 0xBA 00000576 3BD2 move.w <>, [A2] 00000578 548F addq.l A7, 2 0000057A 3D40 000A move.w [A6 + 0xA], D0 0000057E 602E bra +0x30 /* 000005AE */ 00000580 3F2E 000A move.w -[A7], [A6 + 0xA] 00000584 4EBA 3A6E jsr [PC + 0x3A6E /* 00003FF4 */] 00000588 548F addq.l A7, 2 0000058A 3D40 000A move.w [A6 + 0xA], D0 0000058E 601E bra +0x20 /* 000005AE */ 00000590 3F2E 000A move.w -[A7], [A6 + 0xA] 00000594 4EBA 4662 jsr [PC + 0x4662 /* 00004BF8 */] 00000598 548F addq.l A7, 2 0000059A 3D40 000A move.w [A6 + 0xA], D0 0000059E 600E bra +0x10 /* 000005AE */ 000005A0 3F2E 000A move.w -[A7], [A6 + 0xA] 000005A4 4EBA 1162 jsr [PC + 0x1162 /* 00001708 */] 000005A8 548F addq.l A7, 2 000005AA 3D40 000A move.w [A6 + 0xA], D0 label000005AE: 000005AE 302E 000A move.w D0, [A6 + 0xA] 000005B2 4E5E unlink A6 000005B4 4E75 rts 000005B6 4841 swap.w D1 000005B8 4E44 trap 4 000005BA 4C45 4443 movem.l D0,D1,D6,A2,A6, D5 fn000005BE: 000005BE 4E56 0000 link A6, 0 000005C2 302E 0008 move.w D0, [A6 + 0x8] 000005C6 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 000005CA 0003 000E ori.b D3, 0xE 000005CE 0084 0010 0085 ori.l D4, 0x100085 000005D4 0012 012D ori.b [A2], 0x2D /* '-' */ 000005D8 0012 4EBA ori.b [A2], 0xBA 000005DC 3BA6 600A move.w [A5 + D6.w + 0xA], -[A6] 000005E0 4EBA 3A46 jsr [PC + 0x3A46 /* 00004028 */] 000005E4 6004 bra +0x6 /* 000005EA */ 000005E6 4EBA 468A jsr [PC + 0x468A /* 00004C72 */] label000005EA: 000005EA 4E5E unlink A6 000005EC 4E75 rts 000005EE 494E chk.w D4, A6 000005F0 5445 addq.w D5, 2 000005F2 5250 addq.w [A0], 1 000005F4 5245 addq.w D5, 1 fn000005F6: 000005F6 4E56 0000 link A6, 0 000005FA 4E5E unlink A6 000005FC 4E75 rts 000005FE 4146 chk.w D0, D6 00000600 5445 addq.w D5, 2 00000602 5244 addq.w D4, 1 00000604 4941 chk.w D4, D1 export_16: 00000606 4879 0000 0006 push.l 0x6 0000060C 4879 0000 0000 push.l 0x0 00000612 4EBA 1364 jsr [PC + 0x1364 /* 00001978 */] 00000616 508F addq.l A7, 8 00000618 4EBA 22AE jsr [PC + 0x22AE /* 000028C8 */] 0000061C 4EBA 34AE jsr [PC + 0x34AE /* 00003ACC */] 00000620 4EBA 006C jsr [PC + 0x6C /* 0000068E */] 00000624 4EBA 08A6 jsr [PC + 0x8A6 /* 00000ECC */] 00000628 4E75 rts 0000062A 4E56 FFF0 link A6, -0x0010 label0000062E: 0000062E 558F subq.l A7, 2 00000630 3F3C 0002 move.w -[A7], 0x2 00000634 486E FFF0 pea.l [A6 - 0x10] 00000638 A970 syscall GetNextEvent 0000063A 101F move.b D0, [A7]+ 0000063C 4A00 tst.b D0 0000063E 67EE beq -0x10 /* 0000062E */ 00000640 4E5E unlink A6 00000642 4E75 rts 00000644 5741 subq.w D1, 3 00000646 4954 chk.w D4, [A4] 00000648 464F not.w A7 0000064A 5245 addq.w D5, 1 0000064C 4E56 FFF0 link A6, -0x0010 label00000650: 00000650 558F subq.l A7, 2 00000652 3F3C 0008 move.w -[A7], 0x8 00000656 486E FFF0 pea.l [A6 - 0x10] 0000065A A970 syscall GetNextEvent 0000065C 101F move.b D0, [A7]+ 0000065E 4A00 tst.b D0 00000660 67EE beq -0x10 /* 00000650 */ 00000662 4E5E unlink A6 00000664 4E75 rts 00000666 5741 subq.w D1, 3 00000668 4954 chk.w D4, [A4] 0000066A 464F not.w A7 0000066C 524B addq.w A3, 1 fn0000066E: 0000066E 4E56 FFF0 link A6, -0x0010 00000672 558F subq.l A7, 2 00000674 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00000678 486E FFF0 pea.l [A6 - 0x10] 0000067C A970 syscall GetNextEvent 0000067E 101F move.b D0, [A7]+ 00000680 4880 ext.w D0 00000682 4E5E unlink A6 00000684 4E75 rts 00000686 554E subq.w A6, 2 00000688 5449 addq.w A1, 2 0000068A 4C4D 4F52 movem.l D1,D4,D6,A0,A1,A2,A3,A6, A5 fn0000068E: 0000068E 4E56 FFEE link A6, -0x0012 00000692 6000 00D0 bra +0xD2 /* 00000764 */ label00000696: 00000696 A9B4 syscall SystemTask 00000698 558F subq.l A7, 2 0000069A 3F3C 016E move.w -[A7], 0x16E 0000069E 486E FFF0 pea.l [A6 - 0x10] 000006A2 A970 syscall GetNextEvent 000006A4 101F move.b D0, [A7]+ 000006A6 4A00 tst.b D0 000006A8 6700 00B0 beq +0xB2 /* 0000075A */ 000006AC 302E FFF0 move.w D0, [A6 - 0x10] 000006B0 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 000006B4 0000 0008 ori.b D0, 0x8 000006B8 0014 0012 ori.b [A4], 0x12 000006BC 001E 002A ori.b [A6]+, 0x2A /* '*' */ 000006C0 0058 000A ori.w [A0]+, 0xA /* '\n' */ 000006C4 0054 0030 ori.w [A4], 0x30 /* '0' */ 000006C8 0004 0042 ori.b D4, 0x42 /* 'B' */ 000006CC 486E FFF0 pea.l [A6 - 0x10] 000006D0 4EBA 1476 jsr [PC + 0x1476 /* 00001B48 */] 000006D4 588F addq.l A7, 4 000006D6 6000 0094 bra +0x96 /* 0000076C */ 000006DA 486E FFF0 pea.l [A6 - 0x10] 000006DE 4EBA 14AA jsr [PC + 0x14AA /* 00001B8A */] 000006E2 588F addq.l A7, 4 000006E4 6000 007E bra +0x80 /* 00000764 */ 000006E8 486E FFF0 pea.l [A6 - 0x10] 000006EC 4EBA 1554 jsr [PC + 0x1554 /* 00001C42 */] 000006F0 588F addq.l A7, 4 000006F2 6000 0070 bra +0x72 /* 00000764 */ 000006F6 486E FFF0 pea.l [A6 - 0x10] 000006FA 4EBA 1AFE jsr [PC + 0x1AFE /* 000021FA */] 000006FE 588F addq.l A7, 4 00000700 486E FFF0 pea.l [A6 - 0x10] 00000704 4EBA 1442 jsr [PC + 0x1442 /* 00001B48 */] 00000708 588F addq.l A7, 4 0000070A 6058 bra +0x5A /* 00000764 */ 0000070C 486E FFF0 pea.l [A6 - 0x10] 00000710 4EBA 1446 jsr [PC + 0x1446 /* 00001B58 */] 00000714 588F addq.l A7, 4 00000716 604C bra +0x4E /* 00000764 */ 00000718 203C 0000 00FF move.l D0, 0xFF 0000071E C0AE FFF2 and.l D0, [A6 - 0xE] 00000722 1D40 FFEF move.b [A6 - 0x11], D0 00000726 082E 0000 FFFE btst.b [A6 - 0x2], 0x0 0000072C 671C beq +0x1E /* 0000074A */ 0000072E 598F subq.l A7, 4 00000730 102E FFEF move.b D0, [A6 - 0x11] 00000734 4880 ext.w D0 00000736 3F00 move.w -[A7], D0 00000738 A93E syscall MenuKey 0000073A 201F move.l D0, [A7]+ 0000073C 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000740 2F00 move.l -[A7], D0 00000742 4EBA 01FA jsr [PC + 0x1FA /* 0000093E */] 00000746 5C8F addq.l A7, 6 00000748 601A bra +0x1C /* 00000764 */ label0000074A: 0000074A 102E FFEF move.b D0, [A6 - 0x11] 0000074E 4880 ext.w D0 00000750 3F00 move.w -[A7], D0 00000752 4EBA 1A52 jsr [PC + 0x1A52 /* 000021A6 */] 00000756 548F addq.l A7, 2 00000758 600A bra +0xC /* 00000764 */ label0000075A: 0000075A 486E FFF0 pea.l [A6 - 0x10] 0000075E 4EBA 13E8 jsr [PC + 0x13E8 /* 00001B48 */] 00000762 588F addq.l A7, 4 label00000764: 00000764 4A6D EC50 tst.w [A5 - 0x13B0] 00000768 6700 FF2C beq -0xD2 /* 00000696 */ label0000076C: 0000076C 4E5E unlink A6 0000076E 4E75 rts 00000770 444F neg.w A7 00000772 4556 chk.w D2, [A6] 00000774 454E chk.w D2, A6 00000776 5453 addq.w [A3], 2 fn00000778: 00000778 4E56 FFFE link A6, -0x0002 0000077C 558F subq.l A7, 2 0000077E A861 syscall Random 00000780 301F move.w D0, [A7]+ 00000782 3D40 FFFE move.w [A6 - 0x2], D0 00000786 4A6E FFFE tst.w [A6 - 0x2] 0000078A 6C0A bge +0xC /* 00000796 */ 0000078C 302E FFFE move.w D0, [A6 - 0x2] 00000790 4440 neg.w D0 00000792 3D40 FFFE move.w [A6 - 0x2], D0 label00000796: 00000796 306E FFFE movea.w A0, [A6 - 0x2] 0000079A 2008 move.l D0, A0 0000079C 81EE 0008 divs.w D0, [A6 + 0x8] 000007A0 4840 swap.w D0 000007A2 4E5E unlink A6 000007A4 4E75 rts 000007A6 524E addq.w A6, 1 000007A8 4420 neg.b -[A0] 000007AA 2020 move.l D0, -[A0] 000007AC 2020 move.l D0, -[A0] fn000007AE: 000007AE 4E56 FFF6 link A6, -0x000A 000007B2 2F0A move.l -[A7], A2 000007B4 7001 moveq.l D0, 0x01 000007B6 3D40 FFFA move.w [A6 - 0x6], D0 000007BA 302E 0008 move.w D0, [A6 + 0x8] 000007BE C1FC 000E muls.w D0, 0xE 000007C2 41ED FA5A lea.l A0, [A5 - 0x5A6] 000007C6 D1C0 add.l A0, D0 000007C8 302E 0008 move.w D0, [A6 + 0x8] 000007CC C1FC 000E muls.w D0, 0xE 000007D0 43ED FA5A lea.l A1, [A5 - 0x5A6] 000007D4 D3C0 add.l A1, D0 000007D6 302E 0008 move.w D0, [A6 + 0x8] 000007DA C1FC 000E muls.w D0, 0xE 000007DE 45ED FA5A lea.l A2, [A5 - 0x5A6] 000007E2 D5C0 add.l A2, D0 000007E4 598F subq.l A7, 4 000007E6 3F11 move.w -[A7], [A1] 000007E8 2F2A 0002 move.l -[A7], [A2 + 0x2] 000007EC 2D48 FFF6 move.l [A6 - 0xA], A0 000007F0 A931 syscall NewMenu 000007F2 205F movea.l A0, [A7]+ 000007F4 226E FFF6 movea.l A1, [A6 - 0xA] 000007F8 2348 000A move.l [A1 + 0xA], A0 000007FC 302E 0008 move.w D0, [A6 + 0x8] 00000800 C1FC 000E muls.w D0, 0xE 00000804 41ED FA5A lea.l A0, [A5 - 0x5A6] 00000808 D1C0 add.l A0, D0 0000080A 2D68 0006 FFFC move.l [A6 - 0x4], [A0 + 0x6] 00000810 601E bra +0x20 /* 00000830 */ label00000812: 00000812 302E 0008 move.w D0, [A6 + 0x8] 00000816 C1FC 000E muls.w D0, 0xE 0000081A 41ED FA5A lea.l A0, [A5 - 0x5A6] 0000081E D1C0 add.l A0, D0 00000820 2F28 000A move.l -[A7], [A0 + 0xA] 00000824 206E FFFC movea.l A0, [A6 - 0x4] 00000828 2F10 move.l -[A7], [A0] 0000082A A933 syscall AppendMenu 0000082C 58AE FFFC addq.l [A6 - 0x4], 4 label00000830: 00000830 206E FFFC movea.l A0, [A6 - 0x4] 00000834 4A90 tst.l [A0] 00000836 66DA bne -0x24 /* 00000812 */ 00000838 302E 0008 move.w D0, [A6 + 0x8] 0000083C C1FC 000E muls.w D0, 0xE 00000840 41ED FA5A lea.l A0, [A5 - 0x5A6] 00000844 D1C0 add.l A0, D0 00000846 2F28 000A move.l -[A7], [A0 + 0xA] 0000084A 3F2E 000A move.w -[A7], [A6 + 0xA] 0000084E A935 syscall InsertMenu 00000850 245F movea.l A2, [A7]+ 00000852 4E5E unlink A6 00000854 4E75 rts 00000856 4255 clr.w [A5] 00000858 494C chk.w D4, A4 0000085A 4431 4D45 neg.b <> fn0000085E: 0000085E 4E56 FFFE link A6, -0x0002 00000862 426E FFFE clr.w [A6 - 0x2] 00000866 6010 bra +0x12 /* 00000878 */ label00000868: 00000868 4267 clr.w -[A7] 0000086A 3F2E FFFE move.w -[A7], [A6 - 0x2] 0000086E 4EBA FF3E jsr [PC - 0xC2 /* 000007AE */] 00000872 588F addq.l A7, 4 00000874 526E FFFE addq.w [A6 - 0x2], 1 label00000878: 00000878 302E FFFE move.w D0, [A6 - 0x2] 0000087C C1FC 000E muls.w D0, 0xE 00000880 41ED FA5A lea.l A0, [A5 - 0x5A6] 00000884 D1C0 add.l A0, D0 00000886 4A50 tst.w [A0] 00000888 66DE bne -0x20 /* 00000868 */ 0000088A 2F2D FA64 move.l -[A7], [A5 - 0x59C] 0000088E 4879 4452 5652 push.l 0x44525652 /* 'DRVR' */ 00000894 A94D syscall AppendResMenu/AddResMenu 00000896 2F2D FA9C move.l -[A7], [A5 - 0x564] 0000089A 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 000008A0 A94D syscall AppendResMenu/AddResMenu 000008A2 2F2D FA8E move.l -[A7], [A5 - 0x572] 000008A6 4879 6D23 5453 push.l 0x6D235453 /* 'm#TS' */ 000008AC A94D syscall AppendResMenu/AddResMenu 000008AE A937 syscall DrawMenuBar 000008B0 4E5E unlink A6 000008B2 4E75 rts 000008B4 4255 clr.w [A5] 000008B6 494C chk.w D4, A4 000008B8 444D neg.w A5 000008BA 454E chk.w D2, A6 fn000008BC: 000008BC 4E56 0000 link A6, 0 000008C0 4A6E 000C tst.w [A6 + 0xC] 000008C4 671A beq +0x1C /* 000008E0 */ 000008C6 302E 0008 move.w D0, [A6 + 0x8] 000008CA C1FC 000E muls.w D0, 0xE 000008CE 41ED FA5A lea.l A0, [A5 - 0x5A6] 000008D2 D1C0 add.l A0, D0 000008D4 2F28 000A move.l -[A7], [A0 + 0xA] 000008D8 3F2E 000A move.w -[A7], [A6 + 0xA] 000008DC A939 syscall EnableItem 000008DE 6018 bra +0x1A /* 000008F8 */ label000008E0: 000008E0 302E 0008 move.w D0, [A6 + 0x8] 000008E4 C1FC 000E muls.w D0, 0xE 000008E8 41ED FA5A lea.l A0, [A5 - 0x5A6] 000008EC D1C0 add.l A0, D0 000008EE 2F28 000A move.l -[A7], [A0 + 0xA] 000008F2 3F2E 000A move.w -[A7], [A6 + 0xA] 000008F6 A93A syscall DisableItem label000008F8: 000008F8 4E5E unlink A6 000008FA 4E75 rts 000008FC 4445 neg.w D5 000008FE 4954 chk.w D4, [A4] 00000900 454D chk.w D2, A5 00000902 2020 move.l D0, -[A0] fn00000904: 00000904 4E56 FFFC link A6, -0x0004 00000908 598F subq.l A7, 4 0000090A 206E 0008 movea.l A0, [A6 + 0x8] 0000090E 2F28 000A move.l -[A7], [A0 + 0xA] 00000912 A93D syscall MenuSelect 00000914 201F move.l D0, [A7]+ 00000916 2D40 FFFC move.l [A6 - 0x4], D0 0000091A 4AAE FFFC tst.l [A6 - 0x4] 0000091E 6712 beq +0x14 /* 00000932 */ 00000920 206E 0008 movea.l A0, [A6 + 0x8] 00000924 3F28 000E move.w -[A7], [A0 + 0xE] 00000928 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000092C 4EBA 0010 jsr [PC + 0x10 /* 0000093E */] 00000930 5C8F addq.l A7, 6 label00000932: 00000932 4E5E unlink A6 00000934 4E75 rts 00000936 4841 swap.w D1 00000938 4E44 trap 4 0000093A 4C45 4D45 movem.l D0,D2,D6,A0,A2,A3,A6, D5 fn0000093E: 0000093E 4E56 FEFC link A6, -0x0104 00000942 202E 0008 move.l D0, [A6 + 0x8] 00000946 7210 moveq.l D1, 0x10 00000948 E2A0 asr D0, D1 0000094A 3D40 FFFE move.w [A6 - 0x2], D0 0000094E 203C 0000 FFFF move.l D0, 0xFFFF 00000954 C0AE 0008 and.l D0, [A6 + 0x8] 00000958 3D40 FFFC move.w [A6 - 0x4], D0 0000095C 302E FFFE move.w D0, [A6 - 0x2] 00000960 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00000964 0100 btst D0, D0 00000966 0105 btst D5, D0 00000968 01BA 000C bclr [PC + 0xC /* 00000976, value 0x302EFFFC */], D0 0000096C 004E 0086 ori.w A6, 0x86 00000970 00AA 014C 018A 302E ori.l [A2 + 0x302E], 0x14C018A 00000978 FFFC .invalid <> 0000097A 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 0000097E 0001 0002 ori.b D1, 0x2 00000982 001C 0004 ori.b [A4]+, 0x4 00000986 000A 4EBA ori.b A2, 0xBA 0000098A 3604 move.w D3, D4 0000098C 6000 0194 bra +0x196 /* 00000B22 */ 00000990 3F3C 012F move.w -[A7], 0x12F 00000994 4EBA F66A jsr [PC - 0x996 /* 00000000 */] 00000998 548F addq.l A7, 2 0000099A 6000 0186 bra +0x188 /* 00000B22 */ 0000099E 2F2D FA64 move.l -[A7], [A5 - 0x59C] 000009A2 3F2E FFFC move.w -[A7], [A6 - 0x4] 000009A6 486E FEFC pea.l [A6 - 0x104] 000009AA A946 syscall GetMenuItemText/GetItem 000009AC 558F subq.l A7, 2 000009AE 486E FEFC pea.l [A6 - 0x104] 000009B2 A9B6 syscall OpenDeskAcc 000009B4 301F move.w D0, [A7]+ 000009B6 6000 016A bra +0x16C /* 00000B22 */ 000009BA 302E FFFC move.w D0, [A6 - 0x4] 000009BE 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 000009C2 0001 0005 ori.b D1, 0x5 000009C6 015C bchg [A4]+, D0 000009C8 000A 0010 ori.b A2, 0x10 000009CC 0016 0154 ori.b [A6], 0x54 /* 'T' */ 000009D0 001A 4EBA ori.b [A2]+, 0xBA 000009D4 30F8 6000 move.w [A0]+, [0x00006000] 000009D8 014A bchg A2, D0 000009DA 4EBA 30E2 jsr [PC + 0x30E2 /* 00003ABE */] 000009DE 6000 0142 bra +0x144 /* 00000B22 */ 000009E2 4EBA 2C98 jsr [PC + 0x2C98 /* 0000367C */] 000009E6 6000 013A bra +0x13C /* 00000B22 */ 000009EA 7001 moveq.l D0, 0x01 000009EC 3B40 EC50 move.w [A5 - 0x13B0], D0 000009F0 6000 0130 bra +0x132 /* 00000B22 */ 000009F4 558F subq.l A7, 2 000009F6 302E FFFC move.w D0, [A6 - 0x4] 000009FA 5340 subq.w D0, 1 000009FC 3F00 move.w -[A7], D0 000009FE A9C2 syscall SysEdit 00000A00 101F move.b D0, [A7]+ 00000A02 4A00 tst.b D0 00000A04 6600 011C bne +0x11E /* 00000B22 */ 00000A08 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1 00000A0E 6600 0112 bne +0x114 /* 00000B22 */ 00000A12 4EBA 2FD0 jsr [PC + 0x2FD0 /* 000039E4 */] 00000A16 6000 010A bra +0x10C /* 00000B22 */ 00000A1A 302E FFFC move.w D0, [A6 - 0x4] 00000A1E 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00000A22 0001 0005 ori.b D1, 0x5 00000A26 0086 000A 0010 ori.l D6, 0xA0010 00000A2C 001A 004C ori.b [A2]+, 0x4C /* 'L' */ 00000A30 006E 4EBA 3350 ori.w [A6 + 0x3350], 0x4EBA 00000A36 6000 00EA bra +0xEC /* 00000B22 */ 00000A3A 4EBA 30C0 jsr [PC + 0x30C0 /* 00003AFC */] 00000A3E 4EBA 308C jsr [PC + 0x308C /* 00003ACC */] 00000A42 6000 00DE bra +0xE0 /* 00000B22 */ 00000A46 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000A4A 3F2D F9D4 move.w -[A7], [A5 - 0x62C] 00000A4E 486E FEFC pea.l [A6 - 0x104] 00000A52 A946 syscall GetMenuItemText/GetItem 00000A54 486E FEFC pea.l [A6 - 0x104] 00000A58 4EBA 324C jsr [PC + 0x324C /* 00003CA6 */] 00000A5C 588F addq.l A7, 4 00000A5E 4A40 tst.w D0 00000A60 6710 beq +0x12 /* 00000A72 */ 00000A62 4267 clr.w -[A7] 00000A64 3F3C 0003 move.w -[A7], 0x3 00000A68 3F3C 0003 move.w -[A7], 0x3 00000A6C 4EBA FE4E jsr [PC - 0x1B2 /* 000008BC */] 00000A70 5C8F addq.l A7, 6 label00000A72: 00000A72 4EBA 3058 jsr [PC + 0x3058 /* 00003ACC */] 00000A76 6000 00AA bra +0xAC /* 00000B22 */ 00000A7A 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000A7E 3F2D F9D4 move.w -[A7], [A5 - 0x62C] 00000A82 486E FEFC pea.l [A6 - 0x104] 00000A86 A946 syscall GetMenuItemText/GetItem 00000A88 486E FEFC pea.l [A6 - 0x104] 00000A8C 4EBA 3362 jsr [PC + 0x3362 /* 00003DF0 */] 00000A90 588F addq.l A7, 4 00000A92 4EBA 02E8 jsr [PC + 0x2E8 /* 00000D7C */] 00000A96 4EBA 3034 jsr [PC + 0x3034 /* 00003ACC */] 00000A9A 6000 0086 bra +0x88 /* 00000B22 */ 00000A9E 3F3C 012D move.w -[A7], 0x12D 00000AA2 4EBA F55C jsr [PC - 0xAA4 /* 00000000 */] 00000AA6 548F addq.l A7, 2 00000AA8 6000 0078 bra +0x7A /* 00000B22 */ 00000AAC 3F2E FFFC move.w -[A7], [A6 - 0x4] 00000AB0 4EBA 01B4 jsr [PC + 0x1B4 /* 00000C66 */] 00000AB4 548F addq.l A7, 2 00000AB6 4EBA 3014 jsr [PC + 0x3014 /* 00003ACC */] 00000ABA 6000 0066 bra +0x68 /* 00000B22 */ 00000ABE 302E FFFC move.w D0, [A6 - 0x4] 00000AC2 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00000AC6 0001 0003 ori.b D1, 0x3 00000ACA 0022 0006 ori.b -[A2], 0x6 00000ACE 0004 0010 ori.b D4, 0x10 00000AD2 3F2E FFFC move.w -[A7], [A6 - 0x4] 00000AD6 4EBA 076A jsr [PC + 0x76A /* 00001242 */] 00000ADA 548F addq.l A7, 2 00000ADC 6000 0044 bra +0x46 /* 00000B22 */ 00000AE0 4EBA 0E6C jsr [PC + 0xE6C /* 0000194E */] 00000AE4 4EBA 2FE6 jsr [PC + 0x2FE6 /* 00003ACC */] 00000AE8 6000 0038 bra +0x3A /* 00000B22 */ 00000AEC 3F2E FFFC move.w -[A7], [A6 - 0x4] 00000AF0 4EBA 0040 jsr [PC + 0x40 /* 00000B32 */] 00000AF4 548F addq.l A7, 2 00000AF6 4EBA 2FD4 jsr [PC + 0x2FD4 /* 00003ACC */] 00000AFA 6000 0026 bra +0x28 /* 00000B22 */ 00000AFE 302E FFFC move.w D0, [A6 - 0x4] 00000B02 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00000B06 0001 0003 ori.b D1, 0x3 00000B0A 0018 0006 ori.b [A0]+, 0x6 00000B0E 000A 000E ori.b A2, 0xE 00000B12 4EBA 4316 jsr [PC + 0x4316 /* 00004E2A */] 00000B16 600A bra +0xC /* 00000B22 */ 00000B18 4EBA 3CE2 jsr [PC + 0x3CE2 /* 000047FC */] 00000B1C 6004 bra +0x6 /* 00000B22 */ 00000B1E 4EBA 4170 jsr [PC + 0x4170 /* 00004C90 */] label00000B22: 00000B22 4267 clr.w -[A7] 00000B24 A938 syscall HiliteMenu 00000B26 4E5E unlink A6 00000B28 4E75 rts 00000B2A 4841 swap.w D1 00000B2C 4E44 trap 4 00000B2E 4C45 4D49 movem.l D0,D3,D6,A0,A2,A3,A6, D5 fn00000B32: 00000B32 4E56 FFAE link A6, -0x0052 00000B36 302E 0008 move.w D0, [A6 + 0x8] 00000B3A B06D F9D2 cmp.w D0, [A5 - 0x62E] 00000B3E 6700 007E beq +0x80 /* 00000BBE */ 00000B42 0C6D FFFF F9D2 cmpi.w [A5 - 0x62E], 0xFFFF 00000B48 670C beq +0xE /* 00000B56 */ 00000B4A 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000B4E 3F2D F9D2 move.w -[A7], [A5 - 0x62E] 00000B52 4267 clr.w -[A7] 00000B54 A945 syscall CheckItem label00000B56: 00000B56 302E 0008 move.w D0, [A6 + 0x8] 00000B5A 3B40 F9D2 move.w [A5 - 0x62E], D0 00000B5E 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000B62 3F00 move.w -[A7], D0 00000B64 1F3C 0001 move.b -[A7], 0x1 00000B68 A945 syscall CheckItem 00000B6A 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000B6E 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000B72 486E FFB0 pea.l [A6 - 0x50] 00000B76 A946 syscall GetMenuItemText/GetItem 00000B78 486E FFB0 pea.l [A6 - 0x50] 00000B7C 4EBA 0D0C jsr [PC + 0xD0C /* 0000188A */] 00000B80 588F addq.l A7, 4 00000B82 3D40 FFAE move.w [A6 - 0x52], D0 00000B86 0C6E 0040 FFAE cmpi.w [A6 - 0x52], 0x40 /* '@' */ 00000B8C 5EC0 sgt D0 00000B8E 4400 neg.b D0 00000B90 4880 ext.w D0 00000B92 3F00 move.w -[A7], D0 00000B94 3F3C 0002 move.w -[A7], 0x2 00000B98 3F3C 0004 move.w -[A7], 0x4 00000B9C 4EBA FD1E jsr [PC - 0x2E2 /* 000008BC */] 00000BA0 5C8F addq.l A7, 6 00000BA2 0C6E 007F FFAE cmpi.w [A6 - 0x52], 0x7F 00000BA8 5EC0 sgt D0 00000BAA 4400 neg.b D0 00000BAC 4880 ext.w D0 00000BAE 3F00 move.w -[A7], D0 00000BB0 3F3C 0003 move.w -[A7], 0x3 00000BB4 3F3C 0004 move.w -[A7], 0x4 00000BB8 4EBA FD02 jsr [PC - 0x2FE /* 000008BC */] 00000BBC 5C8F addq.l A7, 6 label00000BBE: 00000BBE 4E5E unlink A6 00000BC0 4E75 rts 00000BC2 5345 subq.w D5, 1 00000BC4 4C45 4354 movem.l D2,D4,D6,A0,A1,A6, D5 00000BC8 4E45 trap 5 fn00000BCA: 00000BCA 4E56 FFA4 link A6, -0x005C 00000BCE 7005 moveq.l D0, 0x05 00000BD0 3D40 FFFE move.w [A6 - 0x2], D0 00000BD4 598F subq.l A7, 4 00000BD6 4879 6D23 7375 push.l 0x6D237375 /* 'm#su' */ 00000BDC 3F3C 012C move.w -[A7], 0x12C 00000BE0 A9A0 syscall GetResource 00000BE2 205F movea.l A0, [A7]+ 00000BE4 2D48 FFA8 move.l [A6 - 0x58], A0 00000BE8 2008 move.l D0, A0 00000BEA 6724 beq +0x26 /* 00000C10 */ 00000BEC 2F2E FFA8 move.l -[A7], [A6 - 0x58] 00000BF0 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00000BF4 206E FFA8 movea.l A0, [A6 - 0x58] 00000BF8 2D50 FFA4 move.l [A6 - 0x5C], [A0] 00000BFC 206E FFA4 movea.l A0, [A6 - 0x5C] 00000C00 3D50 FFFE move.w [A6 - 0x2], [A0] 00000C04 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000C08 4EBA FF28 jsr [PC - 0xD8 /* 00000B32 */] 00000C0C 548F addq.l A7, 2 00000C0E 604A bra +0x4C /* 00000C5A */ label00000C10: 00000C10 558F subq.l A7, 2 00000C12 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000C16 A950 syscall CountMItems 00000C18 301F move.w D0, [A7]+ 00000C1A 3D40 FFFC move.w [A6 - 0x4], D0 00000C1E 6030 bra +0x32 /* 00000C50 */ label00000C20: 00000C20 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000C24 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000C28 486E FFAC pea.l [A6 - 0x54] 00000C2C A946 syscall GetMenuItemText/GetItem 00000C2E 2F2D FAC0 move.l -[A7], [A5 - 0x540] 00000C32 486E FFAC pea.l [A6 - 0x54] 00000C36 4EBA 1C38 jsr [PC + 0x1C38 /* 00002870 */] 00000C3A 508F addq.l A7, 8 00000C3C 4A40 tst.w D0 00000C3E 660C bne +0xE /* 00000C4C */ 00000C40 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000C44 4EBA FEEC jsr [PC - 0x114 /* 00000B32 */] 00000C48 548F addq.l A7, 2 00000C4A 600E bra +0x10 /* 00000C5A */ label00000C4C: 00000C4C 526E FFFE addq.w [A6 - 0x2], 1 label00000C50: 00000C50 302E FFFE move.w D0, [A6 - 0x2] 00000C54 B06E FFFC cmp.w D0, [A6 - 0x4] 00000C58 6FC6 ble -0x38 /* 00000C20 */ label00000C5A: 00000C5A 4E5E unlink A6 00000C5C 4E75 rts 00000C5E 5345 subq.w D5, 1 00000C60 4C45 4354 movem.l D2,D4,D6,A0,A1,A6, D5 00000C64 4649 not.w A1 fn00000C66: 00000C66 4E56 FFAE link A6, -0x0052 00000C6A 302E 0008 move.w D0, [A6 + 0x8] 00000C6E B06D F9D4 cmp.w D0, [A5 - 0x62C] 00000C72 6700 00FC beq +0xFE /* 00000D70 */ 00000C76 0C6D FFFF F9D4 cmpi.w [A5 - 0x62C], 0xFFFF 00000C7C 670C beq +0xE /* 00000C8A */ 00000C7E 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000C82 3F2D F9D4 move.w -[A7], [A5 - 0x62C] 00000C86 4267 clr.w -[A7] 00000C88 A945 syscall CheckItem label00000C8A: 00000C8A 302E 0008 move.w D0, [A6 + 0x8] 00000C8E 3B40 F9D4 move.w [A5 - 0x62C], D0 00000C92 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000C96 3F00 move.w -[A7], D0 00000C98 1F3C 0001 move.b -[A7], 0x1 00000C9C A945 syscall CheckItem 00000C9E 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000CA2 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000CA6 486E FFB0 pea.l [A6 - 0x50] 00000CAA A946 syscall GetMenuItemText/GetItem 00000CAC 4267 clr.w -[A7] 00000CAE 4267 clr.w -[A7] 00000CB0 4879 6D23 5453 push.l 0x6D235453 /* 'm#TS' */ 00000CB6 486E FFB0 pea.l [A6 - 0x50] 00000CBA 2F2D FB34 move.l -[A7], [A5 - 0x4CC] 00000CBE 4EBA 1A06 jsr [PC + 0x1A06 /* 000026C6 */] 00000CC2 4FEF 0010 lea.l A7, [A7 + 0x10] 00000CC6 3D40 FFAE move.w [A6 - 0x52], D0 00000CCA 2F2D FB38 move.l -[A7], [A5 - 0x4C8] 00000CCE A873 syscall SetPort 00000CD0 486D FB40 pea.l [A5 - 0x4C0] 00000CD4 486D FCFC pea.l [A5 - 0x304] 00000CD8 A8A5 syscall FillRect 00000CDA 206D FB38 movea.l A0, [A5 - 0x4C8] 00000CDE 4868 0010 pea.l [A0 + 0x10] 00000CE2 4879 6D23 4250 push.l 0x6D234250 /* 'm#BP' */ 00000CE8 486E FFB0 pea.l [A6 - 0x50] 00000CEC 2F2D FB38 move.l -[A7], [A5 - 0x4C8] 00000CF0 4EBA 1AC0 jsr [PC + 0x1AC0 /* 000027B2 */] 00000CF4 4FEF 0010 lea.l A7, [A7 + 0x10] 00000CF8 4A40 tst.w D0 00000CFA 661E bne +0x20 /* 00000D1A */ 00000CFC 0C6E 007F FFAE cmpi.w [A6 - 0x52], 0x7F 00000D02 5EC0 sgt D0 00000D04 4400 neg.b D0 00000D06 4880 ext.w D0 00000D08 3F00 move.w -[A7], D0 00000D0A 3F3C 0003 move.w -[A7], 0x3 00000D0E 3F3C 0003 move.w -[A7], 0x3 00000D12 4EBA FBA8 jsr [PC - 0x458 /* 000008BC */] 00000D16 5C8F addq.l A7, 6 00000D18 6010 bra +0x12 /* 00000D2A */ label00000D1A: 00000D1A 4267 clr.w -[A7] 00000D1C 3F3C 0003 move.w -[A7], 0x3 00000D20 3F3C 0003 move.w -[A7], 0x3 00000D24 4EBA FB96 jsr [PC - 0x46A /* 000008BC */] 00000D28 5C8F addq.l A7, 6 label00000D2A: 00000D2A 0C6E 007F FFAE cmpi.w [A6 - 0x52], 0x7F 00000D30 5EC0 sgt D0 00000D32 4400 neg.b D0 00000D34 4880 ext.w D0 00000D36 3F00 move.w -[A7], D0 00000D38 3F3C 0004 move.w -[A7], 0x4 00000D3C 3F3C 0003 move.w -[A7], 0x3 00000D40 4EBA FB7A jsr [PC - 0x486 /* 000008BC */] 00000D44 5C8F addq.l A7, 6 00000D46 0C6E 007F FFAE cmpi.w [A6 - 0x52], 0x7F 00000D4C 5EC0 sgt D0 00000D4E 4400 neg.b D0 00000D50 4880 ext.w D0 00000D52 3F00 move.w -[A7], D0 00000D54 3F3C 0005 move.w -[A7], 0x5 00000D58 3F3C 0003 move.w -[A7], 0x3 00000D5C 4EBA FB5E jsr [PC - 0x4A2 /* 000008BC */] 00000D60 5C8F addq.l A7, 6 00000D62 4EBA 3BD0 jsr [PC + 0x3BD0 /* 00004934 */] 00000D66 486E FFB0 pea.l [A6 - 0x50] 00000D6A 4EBA 3B6A jsr [PC + 0x3B6A /* 000048D6 */] 00000D6E 588F addq.l A7, 4 label00000D70: 00000D70 4E5E unlink A6 00000D72 4E75 rts 00000D74 5345 subq.w D5, 1 00000D76 4C45 4354 movem.l D2,D4,D6,A0,A1,A6, D5 00000D7A 4E45 trap 5 fn00000D7C: 00000D7C 4E56 FFA4 link A6, -0x005C 00000D80 7006 moveq.l D0, 0x06 00000D82 3D40 FFFE move.w [A6 - 0x2], D0 00000D86 598F subq.l A7, 4 00000D88 4879 6D23 7375 push.l 0x6D237375 /* 'm#su' */ 00000D8E 3F3C 012C move.w -[A7], 0x12C 00000D92 A9A0 syscall GetResource 00000D94 205F movea.l A0, [A7]+ 00000D96 2D48 FFA8 move.l [A6 - 0x58], A0 00000D9A 2008 move.l D0, A0 00000D9C 6726 beq +0x28 /* 00000DC4 */ 00000D9E 2F2E FFA8 move.l -[A7], [A6 - 0x58] 00000DA2 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00000DA6 206E FFA8 movea.l A0, [A6 - 0x58] 00000DAA 2D50 FFA4 move.l [A6 - 0x5C], [A0] 00000DAE 206E FFA4 movea.l A0, [A6 - 0x5C] 00000DB2 3D68 0002 FFFE move.w [A6 - 0x2], [A0 + 0x2] 00000DB8 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000DBC 4EBA FEA8 jsr [PC - 0x158 /* 00000C66 */] 00000DC0 548F addq.l A7, 2 00000DC2 604A bra +0x4C /* 00000E0E */ label00000DC4: 00000DC4 558F subq.l A7, 2 00000DC6 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000DCA A950 syscall CountMItems 00000DCC 301F move.w D0, [A7]+ 00000DCE 3D40 FFFC move.w [A6 - 0x4], D0 00000DD2 6030 bra +0x32 /* 00000E04 */ label00000DD4: 00000DD4 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000DD8 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000DDC 486E FFAC pea.l [A6 - 0x54] 00000DE0 A946 syscall GetMenuItemText/GetItem 00000DE2 2F2D FABC move.l -[A7], [A5 - 0x544] 00000DE6 486E FFAC pea.l [A6 - 0x54] 00000DEA 4EBA 1A84 jsr [PC + 0x1A84 /* 00002870 */] 00000DEE 508F addq.l A7, 8 00000DF0 4A40 tst.w D0 00000DF2 660C bne +0xE /* 00000E00 */ 00000DF4 3F2E FFFE move.w -[A7], [A6 - 0x2] 00000DF8 4EBA FE6C jsr [PC - 0x194 /* 00000C66 */] 00000DFC 548F addq.l A7, 2 00000DFE 600E bra +0x10 /* 00000E0E */ label00000E00: 00000E00 526E FFFE addq.w [A6 - 0x2], 1 label00000E04: 00000E04 302E FFFE move.w D0, [A6 - 0x2] 00000E08 B06E FFFC cmp.w D0, [A6 - 0x4] 00000E0C 6FC6 ble -0x38 /* 00000DD4 */ label00000E0E: 00000E0E 4E5E unlink A6 00000E10 4E75 rts 00000E12 5345 subq.w D5, 1 00000E14 4C45 4354 movem.l D2,D4,D6,A0,A1,A6, D5 00000E18 4649 not.w A1 fn00000E1A: 00000E1A 4E56 0000 link A6, 0 00000E1E 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000E22 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000E26 A933 syscall AppendMenu 00000E28 A937 syscall DrawMenuBar 00000E2A 558F subq.l A7, 2 00000E2C 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000E30 A950 syscall CountMItems 00000E32 301F move.w D0, [A7]+ 00000E34 3F00 move.w -[A7], D0 00000E36 4EBA FCFA jsr [PC - 0x306 /* 00000B32 */] 00000E3A 548F addq.l A7, 2 00000E3C 4E5E unlink A6 00000E3E 4E75 rts 00000E40 4144 chk.w D0, D4 00000E42 444D neg.w A5 00000E44 454E chk.w D2, A6 00000E46 5550 subq.w [A0], 2 fn00000E48: 00000E48 3F3C 0004 move.w -[A7], 0x4 00000E4C A936 syscall DeleteMenu 00000E4E 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000E52 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00000E56 4267 clr.w -[A7] 00000E58 3F3C 0004 move.w -[A7], 0x4 00000E5C 4EBA F950 jsr [PC - 0x6B0 /* 000007AE */] 00000E60 588F addq.l A7, 4 00000E62 2F2D FA9C move.l -[A7], [A5 - 0x564] 00000E66 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 00000E6C A94D syscall AppendResMenu/AddResMenu 00000E6E A937 syscall DrawMenuBar 00000E70 4E75 rts fn00000E72: 00000E72 4E56 0000 link A6, 0 00000E76 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000E7A 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000E7E A933 syscall AppendMenu 00000E80 A937 syscall DrawMenuBar 00000E82 558F subq.l A7, 2 00000E84 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000E88 A950 syscall CountMItems 00000E8A 301F move.w D0, [A7]+ 00000E8C 3F00 move.w -[A7], D0 00000E8E 4EBA FDD6 jsr [PC - 0x22A /* 00000C66 */] 00000E92 548F addq.l A7, 2 00000E94 4E5E unlink A6 00000E96 4E75 rts 00000E98 4144 chk.w D0, D4 00000E9A 444D neg.w A5 00000E9C 454E chk.w D2, A6 00000E9E 5554 subq.w [A4], 2 fn00000EA0: 00000EA0 3F3C 0003 move.w -[A7], 0x3 00000EA4 A936 syscall DeleteMenu 00000EA6 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000EAA 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00000EAE 3F3C 0004 move.w -[A7], 0x4 00000EB2 3F3C 0003 move.w -[A7], 0x3 00000EB6 4EBA F8F6 jsr [PC - 0x70A /* 000007AE */] 00000EBA 588F addq.l A7, 4 00000EBC 2F2D FA8E move.l -[A7], [A5 - 0x572] 00000EC0 4879 6D23 5453 push.l 0x6D235453 /* 'm#TS' */ 00000EC6 A94D syscall AppendResMenu/AddResMenu 00000EC8 A937 syscall DrawMenuBar 00000ECA 4E75 rts fn00000ECC: 00000ECC 4E56 FFF8 link A6, -0x0008 00000ED0 598F subq.l A7, 4 00000ED2 4879 6D23 7375 push.l 0x6D237375 /* 'm#su' */ 00000ED8 3F3C 012C move.w -[A7], 0x12C 00000EDC A9A0 syscall GetResource 00000EDE 205F movea.l A0, [A7]+ 00000EE0 2D48 FFF8 move.l [A6 - 0x8], A0 00000EE4 2008 move.l D0, A0 00000EE6 672A beq +0x2C /* 00000F12 */ 00000EE8 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000EEC 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00000EF0 206E FFF8 movea.l A0, [A6 - 0x8] 00000EF4 2D50 FFFC move.l [A6 - 0x4], [A0] 00000EF8 206E FFFC movea.l A0, [A6 - 0x4] 00000EFC 30AD F9D2 move.w [A0], [A5 - 0x62E] 00000F00 206E FFFC movea.l A0, [A6 - 0x4] 00000F04 316D F9D4 0002 move.w [A0 + 0x2], [A5 - 0x62C] 00000F0A 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000F0E A9AA syscall ChangedResource 00000F10 6040 bra +0x42 /* 00000F52 */ label00000F12: 00000F12 598F subq.l A7, 4 00000F14 4878 0004 push.l 0x4 00000F18 4EAD 0112 jsr [A5 + 0x112 /* export_30 */] 00000F1C 205F movea.l A0, [A7]+ 00000F1E 2D48 FFF8 move.l [A6 - 0x8], A0 00000F22 206E FFF8 movea.l A0, [A6 - 0x8] 00000F26 2D50 FFFC move.l [A6 - 0x4], [A0] 00000F2A 206E FFFC movea.l A0, [A6 - 0x4] 00000F2E 30AD F9D2 move.w [A0], [A5 - 0x62E] 00000F32 206E FFFC movea.l A0, [A6 - 0x4] 00000F36 316D F9D4 0002 move.w [A0 + 0x2], [A5 - 0x62C] 00000F3C 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000F40 4879 6D23 7375 push.l 0x6D237375 /* 'm#su' */ 00000F46 3F3C 012C move.w -[A7], 0x12C 00000F4A 4879 0000 0194 push.l 0x194 00000F50 A9AB syscall AddResource label00000F52: 00000F52 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000F56 A9B0 syscall WriteResource 00000F58 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000F5C A9A3 syscall ReleaseResource 00000F5E 4E5E unlink A6 00000F60 4E75 rts 00000F62 5341 subq.w D1, 1 00000F64 5645 addq.w D5, 3 00000F66 4355 chk.w D1, [A5] 00000F68 5252 addq.w [A2], 1 fn00000F6A: 00000F6A 4E56 FFFA link A6, -0x0006 00000F6E 426E FFFA clr.w [A6 - 0x6] 00000F72 6010 bra +0x12 /* 00000F84 */ label00000F74: 00000F74 558F subq.l A7, 2 00000F76 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 00000F7C A9C1 syscall UniqueID 00000F7E 301F move.w D0, [A7]+ 00000F80 3D40 FFFA move.w [A6 - 0x6], D0 label00000F84: 00000F84 0C6E 0080 FFFA cmpi.w [A6 - 0x6], 0x80 00000F8A 6DE8 blt -0x16 /* 00000F74 */ 00000F8C 2F2D FDBE move.l -[A7], [A5 - 0x242] 00000F90 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00000F94 588F addq.l A7, 4 00000F96 598F subq.l A7, 4 00000F98 4878 0140 push.l 0x140 00000F9C 4EAD 0112 jsr [A5 + 0x112 /* export_30 */] 00000FA0 205F movea.l A0, [A7]+ 00000FA2 2D48 FFFC move.l [A6 - 0x4], A0 00000FA6 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000FAA 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00000FAE 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000FB2 4EAD 013A jsr [A5 + 0x13A /* export_35 */] 00000FB6 3F3C 0140 move.w -[A7], 0x140 00000FBA 206E FFFC movea.l A0, [A6 - 0x4] 00000FBE 2F10 move.l -[A7], [A0] 00000FC0 486D F6E2 pea.l [A5 - 0x91E] 00000FC4 4EBA 187A jsr [PC + 0x187A /* 00002840 */] 00000FC8 4FEF 000A lea.l A7, [A7 + 0xA] 00000FCC 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000FD0 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 00000FD6 3F2E FFFA move.w -[A7], [A6 - 0x6] 00000FDA 2F2D FDBE move.l -[A7], [A5 - 0x242] 00000FDE A9AB syscall AddResource 00000FE0 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000FE4 A9B0 syscall WriteResource 00000FE6 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000FEA A9A3 syscall ReleaseResource 00000FEC 2F2D FDBE move.l -[A7], [A5 - 0x242] 00000FF0 4EBA FE28 jsr [PC - 0x1D8 /* 00000E1A */] 00000FF4 588F addq.l A7, 4 00000FF6 7001 moveq.l D0, 0x01 00000FF8 4E5E unlink A6 00000FFA 4E75 rts 00000FFC 5341 subq.w D1, 1 00000FFE 5645 addq.w D5, 3 00001000 4E45 trap 5 00001002 5750 subq.w [A0], 3 fn00001004: 00001004 4E56 FFAC link A6, -0x0054 00001008 2F2D FDBE move.l -[A7], [A5 - 0x242] 0000100C 486E FFAC pea.l [A6 - 0x54] 00001010 4EAD 00EA jsr [A5 + 0xEA /* export_25 */] 00001014 508F addq.l A7, 8 00001016 486E FFAC pea.l [A6 - 0x54] 0000101A 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 0000101E 588F addq.l A7, 4 00001020 598F subq.l A7, 4 00001022 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 00001028 486E FFAC pea.l [A6 - 0x54] 0000102C A9A1 syscall GetNamedResource 0000102E 205F movea.l A0, [A7]+ 00001030 2D48 FFFC move.l [A6 - 0x4], A0 00001034 B0FC 0000 cmpa.w A0, 0x0 00001038 6754 beq +0x56 /* 0000108E */ 0000103A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000103E 4EBA 1660 jsr [PC + 0x1660 /* 000026A0 */] 00001042 588F addq.l A7, 4 00001044 0C40 0041 cmpi.w D0, 0x41 /* 'A' */ 00001048 6C1A bge +0x1C /* 00001064 */ 0000104A 2F2D FDBE move.l -[A7], [A5 - 0x242] 0000104E 4879 0000 0398 push.l 0x398 00001054 4EBA 14E4 jsr [PC + 0x14E4 /* 0000253A */] 00001058 508F addq.l A7, 8 0000105A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000105E A9A3 syscall ReleaseResource 00001060 7000 moveq.l D0, 0x00 00001062 602C bra +0x2E /* 00001090 */ label00001064: 00001064 2F2E FFFC move.l -[A7], [A6 - 0x4] 00001068 A9A3 syscall ReleaseResource 0000106A 2F2D FDBE move.l -[A7], [A5 - 0x242] 0000106E 4879 0000 03F0 push.l 0x3F0 00001074 4EBA 1556 jsr [PC + 0x1556 /* 000025CC */] 00001078 508F addq.l A7, 8 0000107A 4A40 tst.w D0 0000107C 670C beq +0xE /* 0000108A */ 0000107E 486E FFAC pea.l [A6 - 0x54] 00001082 4EBA 0884 jsr [PC + 0x884 /* 00001908 */] 00001086 588F addq.l A7, 4 00001088 6004 bra +0x6 /* 0000108E */ label0000108A: 0000108A 7000 moveq.l D0, 0x00 0000108C 6002 bra +0x4 /* 00001090 */ label0000108E: 0000108E 7001 moveq.l D0, 0x01 label00001090: 00001090 4E5E unlink A6 00001092 4E75 rts 00001094 4F4B chk.w D7, A3 00001096 544F addq.w A7, 2 00001098 5341 subq.w D1, 1 0000109A 5645 addq.w D5, 3 fn0000109C: 0000109C 4E56 FFFC link A6, -0x0004 000010A0 598F subq.l A7, 4 000010A2 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 000010A8 486D FDC2 pea.l [A5 - 0x23E] 000010AC A9A1 syscall GetNamedResource 000010AE 205F movea.l A0, [A7]+ 000010B0 2D48 FFFC move.l [A6 - 0x4], A0 000010B4 2F2E FFFC move.l -[A7], [A6 - 0x4] 000010B8 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 000010BC 2F2E FFFC move.l -[A7], [A6 - 0x4] 000010C0 4EAD 013A jsr [A5 + 0x13A /* export_35 */] 000010C4 3F3C 0140 move.w -[A7], 0x140 000010C8 206E FFFC movea.l A0, [A6 - 0x4] 000010CC 2F10 move.l -[A7], [A0] 000010CE 486D F6E2 pea.l [A5 - 0x91E] 000010D2 4EBA 176C jsr [PC + 0x176C /* 00002840 */] 000010D6 4FEF 000A lea.l A7, [A7 + 0xA] 000010DA 2F2E FFFC move.l -[A7], [A6 - 0x4] 000010DE A9AA syscall ChangedResource 000010E0 2F2E FFFC move.l -[A7], [A6 - 0x4] 000010E4 A9B0 syscall WriteResource 000010E6 2F2E FFFC move.l -[A7], [A6 - 0x4] 000010EA A9A3 syscall ReleaseResource 000010EC 4E5E unlink A6 000010EE 4E75 rts 000010F0 5341 subq.w D1, 1 000010F2 5645 addq.w D5, 3 000010F4 4F4C chk.w D7, A4 000010F6 4450 neg.w [A0] fn000010F8: 000010F8 4EBA 0724 jsr [PC + 0x724 /* 0000181E */] 000010FC 4A6D FDBC tst.w [A5 - 0x244] 00001100 6706 beq +0x8 /* 00001108 */ 00001102 4EBA FE66 jsr [PC - 0x19A /* 00000F6A */] 00001106 6004 bra +0x6 /* 0000110C */ label00001108: 00001108 4EBA FF92 jsr [PC - 0x6E /* 0000109C */] label0000110C: 0000110C 4E75 rts fn0000110E: 0000110E 4E56 FFFE link A6, -0x0002 00001112 2F0A move.l -[A7], A2 00001114 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1 0000111A 57C0 seq D0 0000111C 4400 neg.b D0 0000111E 4880 ext.w D0 00001120 3B40 FDBC move.w [A5 - 0x244], D0 00001124 4A40 tst.w D0 00001126 6724 beq +0x26 /* 0000114C */ 00001128 426E FFFE clr.w [A6 - 0x2] 0000112C 600E bra +0x10 /* 0000113C */ label0000112E: 0000112E 41ED ECE2 lea.l A0, [A5 - 0x131E] 00001132 D0EE FFFE add.w A0, [A6 - 0x2] 00001136 4210 clr.b [A0] 00001138 526E FFFE addq.w [A6 - 0x2], 1 label0000113C: 0000113C 0C6E 0A00 FFFE cmpi.w [A6 - 0x2], 0xA00 /* '\n\0' */ 00001142 6DEA blt -0x14 /* 0000112E */ 00001144 426D FDBA clr.w [A5 - 0x246] 00001148 6000 0062 bra +0x64 /* 000011AC */ label0000114C: 0000114C 426E FFFE clr.w [A6 - 0x2] 00001150 604C bra +0x4E /* 0000119E */ label00001152: 00001152 41ED ECE2 lea.l A0, [A5 - 0x131E] 00001156 D0EE FFFE add.w A0, [A6 - 0x2] 0000115A 326E FFFE movea.w A1, [A6 - 0x2] 0000115E 2009 move.l D0, A1 00001160 81FC 0008 divs.w D0, 0x8 00001164 43ED F6E2 lea.l A1, [A5 - 0x91E] 00001168 D2C0 add.w A1, D0 0000116A 346E FFFE movea.w A2, [A6 - 0x2] 0000116E 200A move.l D0, A2 00001170 81FC 0008 divs.w D0, 0x8 00001174 4840 swap.w D0 00001176 7201 moveq.l D1, 0x01 00001178 E169 lsl D1.w, D0 0000117A 7000 moveq.l D0, 0x00 0000117C 1011 move.b D0, [A1] 0000117E C041 and.w D0, D1 00001180 4A40 tst.w D0 00001182 6706 beq +0x8 /* 0000118A */ 00001184 48E7 0080 movem.l -[A7], A0 00001188 6008 bra +0xA /* 00001192 */ label0000118A: 0000118A 48E7 0080 movem.l -[A7], A0 0000118E 7000 moveq.l D0, 0x00 00001190 6002 bra +0x4 /* 00001194 */ label00001192: 00001192 7001 moveq.l D0, 0x01 label00001194: 00001194 4CDF 0100 movem.l A0, [A7]+ 00001198 1080 move.b [A0], D0 0000119A 526E FFFE addq.w [A6 - 0x2], 1 label0000119E: 0000119E 0C6E 0A00 FFFE cmpi.w [A6 - 0x2], 0xA00 /* '\n\0' */ 000011A4 6DAC blt -0x52 /* 00001152 */ 000011A6 3B7C 0090 FDBA move.w [A5 - 0x246], 0x90 label000011AC: 000011AC 245F movea.l A2, [A7]+ 000011AE 4E5E unlink A6 000011B0 4E75 rts 000011B2 494E chk.w D4, A6 000011B4 4954 chk.w D4, [A4] 000011B6 5041 addq.w D1, 8 000011B8 5252 addq.w [A2], 1 fn000011BA: 000011BA 4E56 FFEE link A6, -0x0012 000011BE 426D FDB8 clr.w [A5 - 0x248] 000011C2 426D FDB6 clr.w [A5 - 0x24A] 000011C6 486E FFF8 pea.l [A6 - 0x8] 000011CA 4267 clr.w -[A7] 000011CC 3F3C 0014 move.w -[A7], 0x14 000011D0 3F3C 0200 move.w -[A7], 0x200 000011D4 3F3C 0114 move.w -[A7], 0x114 000011D8 A8A7 syscall SetRect 000011DA 486E FFF0 pea.l [A6 - 0x10] 000011DE 4267 clr.w -[A7] 000011E0 3F3C 0114 move.w -[A7], 0x114 000011E4 3F3C 0200 move.w -[A7], 0x200 000011E8 3F3C 0156 move.w -[A7], 0x156 000011EC A8A7 syscall SetRect 000011EE 598F subq.l A7, 4 000011F0 42A7 clr.l -[A7] 000011F2 486E FFF8 pea.l [A6 - 0x8] 000011F6 4879 0000 0422 push.l 0x422 000011FC 1F3C 0001 move.b -[A7], 0x1 00001200 3F3C 0004 move.w -[A7], 0x4 00001204 4878 FFFF push.l 0xFFFF 00001208 4267 clr.w -[A7] 0000120A 4878 0001 push.l 0x1 0000120E A913 syscall NewWindow 00001210 205F movea.l A0, [A7]+ 00001212 2B48 FDAE move.l [A5 - 0x252], A0 00001216 3F3C 07D0 move.w -[A7], 0x7D0 0000121A 4EBA EEB8 jsr [PC - 0x1148 /* 000000D4 */] 0000121E 548F addq.l A7, 2 00001220 4E5E unlink A6 00001222 4E75 rts 00001224 454E chk.w D2, A6 00001226 5445 addq.w D5, 2 00001228 5250 addq.w [A0], 1 0000122A 4154 chk.w D0, [A4] fn0000122C: 0000122C 2F2D FDAE move.l -[A7], [A5 - 0x252] 00001230 A914 syscall DisposeWindow 00001232 4EBA EF02 jsr [PC - 0x10FE /* 00000136 */] 00001236 2F2D FB3C move.l -[A7], [A5 - 0x4C4] 0000123A A873 syscall SetPort 0000123C 4EBA 288E jsr [PC + 0x288E /* 00003ACC */] 00001240 4E75 rts fn00001242: 00001242 4E56 0000 link A6, 0 00001246 3F2E 0008 move.w -[A7], [A6 + 0x8] 0000124A 4EBA FEC2 jsr [PC - 0x13E /* 0000110E */] 0000124E 548F addq.l A7, 2 00001250 4EBA FF68 jsr [PC - 0x98 /* 000011BA */] 00001254 4EBA 0154 jsr [PC + 0x154 /* 000013AA */] 00001258 4EBA 001E jsr [PC + 0x1E /* 00001278 */] 0000125C 0C6D 0001 FDB8 cmpi.w [A5 - 0x248], 0x1 00001262 6604 bne +0x6 /* 00001268 */ 00001264 4EBA FE92 jsr [PC - 0x16E /* 000010F8 */] label00001268: 00001268 4EBA FFC2 jsr [PC - 0x3E /* 0000122C */] 0000126C 4E5E unlink A6 0000126E 4E75 rts 00001270 4352 chk.w D1, [A2] 00001272 4541 chk.w D2, D1 00001274 5445 addq.w D5, 2 00001276 5041 addq.w D1, 8 fn00001278: 00001278 4E56 FFEA link A6, -0x0016 0000127C 6000 00BE bra +0xC0 /* 0000133C */ label00001280: 00001280 558F subq.l A7, 2 00001282 3F3C 004A move.w -[A7], 0x4A /* 'J' */ 00001286 486E FFF0 pea.l [A6 - 0x10] 0000128A A970 syscall GetNextEvent 0000128C 101F move.b D0, [A7]+ 0000128E 4A00 tst.b D0 00001290 6700 00AA beq +0xAC /* 0000133C */ 00001294 0C6E 0003 FFF0 cmpi.w [A6 - 0x10], 0x3 0000129A 671C beq +0x1E /* 000012B8 */ 0000129C 558F subq.l A7, 2 0000129E 486E FFF0 pea.l [A6 - 0x10] 000012A2 A97F syscall IsDialogEvent 000012A4 101F move.b D0, [A7]+ 000012A6 4A00 tst.b D0 000012A8 670E beq +0x10 /* 000012B8 */ 000012AA 486E FFF0 pea.l [A6 - 0x10] 000012AE 4EBA EED4 jsr [PC - 0x112C /* 00000184 */] 000012B2 588F addq.l A7, 4 000012B4 6000 0086 bra +0x88 /* 0000133C */ label000012B8: 000012B8 302E FFF0 move.w D0, [A6 - 0x10] 000012BC 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 000012C0 0003 000E ori.b D3, 0xE 000012C4 0001 003A ori.b D1, 0x3A /* ':' */ 000012C8 0006 003C ori.b D6, 0x3C /* '<' */ 000012CC 0003 006E ori.b D3, 0x6E /* 'n' */ 000012D0 558F subq.l A7, 2 000012D2 2F2E FFFA move.l -[A7], [A6 - 0x6] 000012D6 486E FFEA pea.l [A6 - 0x16] 000012DA A92C syscall FindWindow 000012DC 301F move.w D0, [A7]+ 000012DE 3D40 FFEE move.w [A6 - 0x12], D0 000012E2 202E FFEA move.l D0, [A6 - 0x16] 000012E6 B0AD FDAE cmp.l D0, [A5 - 0x252] 000012EA 6650 bne +0x52 /* 0000133C */ 000012EC 0C6E 0003 FFEE cmpi.w [A6 - 0x12], 0x3 000012F2 6648 bne +0x4A /* 0000133C */ 000012F4 2F2E FFFA move.l -[A7], [A6 - 0x6] 000012F8 4EBA 010E jsr [PC + 0x10E /* 00001408 */] 000012FC 588F addq.l A7, 4 000012FE 603C bra +0x3E /* 0000133C */ 00001300 4EBA 0340 jsr [PC + 0x340 /* 00001642 */] 00001304 6036 bra +0x38 /* 0000133C */ 00001306 203C 0000 00FF move.l D0, 0xFF 0000130C C0AE FFF2 and.l D0, [A6 - 0xE] 00001310 0C40 0031 cmpi.w D0, 0x31 /* '1' */ 00001314 6D26 blt +0x28 /* 0000133C */ 00001316 203C 0000 00FF move.l D0, 0xFF 0000131C C0AE FFF2 and.l D0, [A6 - 0xE] 00001320 0C40 0035 cmpi.w D0, 0x35 /* '5' */ 00001324 6E16 bgt +0x18 /* 0000133C */ 00001326 203C 0000 00FF move.l D0, 0xFF 0000132C C0AE FFF2 and.l D0, [A6 - 0xE] 00001330 0640 FFD2 addi.w D0, 0xFFD2 00001334 3F00 move.w -[A7], D0 00001336 4EBA 03D0 jsr [PC + 0x3D0 /* 00001708 */] 0000133A 548F addq.l A7, 2 label0000133C: 0000133C 4A6D FDB8 tst.w [A5 - 0x248] 00001340 6700 FF3E beq -0xC0 /* 00001280 */ 00001344 4E5E unlink A6 00001346 4E75 rts 00001348 5041 addq.w D1, 8 0000134A 5454 addq.w [A4], 2 0000134C 4552 chk.w D2, [A2] 0000134E 4E45 trap 5 fn00001350: 00001350 4E56 FFFC link A6, -0x0004 00001354 426E FFFE clr.w [A6 - 0x2] 00001358 603A bra +0x3C /* 00001394 */ label0000135A: 0000135A 302E FFFE move.w D0, [A6 - 0x2] 0000135E 48C0 ext.l D0 00001360 D080 add.l D0, D0 00001362 41ED FE12 lea.l A0, [A5 - 0x1EE] 00001366 D1C0 add.l A0, D0 00001368 302E 0008 move.w D0, [A6 + 0x8] 0000136C D050 add.w D0, [A0] 0000136E 3D40 FFFC move.w [A6 - 0x4], D0 00001372 4A6E FFFC tst.w [A6 - 0x4] 00001376 6D18 blt +0x1A /* 00001390 */ 00001378 0C6E 0A00 FFFC cmpi.w [A6 - 0x4], 0xA00 /* '\n\0' */ 0000137E 6E10 bgt +0x12 /* 00001390 */ 00001380 41ED ECE2 lea.l A0, [A5 - 0x131E] 00001384 D0EE FFFC add.w A0, [A6 - 0x4] 00001388 4A10 tst.b [A0] 0000138A 6704 beq +0x6 /* 00001390 */ 0000138C 7000 moveq.l D0, 0x00 0000138E 600E bra +0x10 /* 0000139E */ label00001390: 00001390 526E FFFE addq.w [A6 - 0x2], 1 label00001394: 00001394 0C6E 0008 FFFE cmpi.w [A6 - 0x2], 0x8 0000139A 6DBE blt -0x40 /* 0000135A */ 0000139C 7001 moveq.l D0, 0x01 label0000139E: 0000139E 4E5E unlink A6 000013A0 4E75 rts 000013A2 4C45 4741 movem.l D0,D6,A0,A1,A2,A6, D5 000013A6 4C54 4F50 movem.l D4,D6,A0,A1,A2,A3,A6, [A4] fn000013AA: 000013AA 4E56 FFB0 link A6, -0x0050 000013AE 3F2D FDBA move.w -[A7], [A5 - 0x246] 000013B2 4879 0000 0430 push.l 0x430 000013B8 486E FFB0 pea.l [A6 - 0x50] 000013BC 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 000013C0 4FEF 000A lea.l A7, [A7 + 0xA] 000013C4 486E FFB0 pea.l [A6 - 0x50] 000013C8 3F3C 0008 move.w -[A7], 0x8 000013CC 4EBA EF56 jsr [PC - 0x10AA /* 00000324 */] 000013D0 5C8F addq.l A7, 6 000013D2 303C 0090 move.w D0, 0x90 000013D6 906D FDBA sub.w D0, [A5 - 0x246] 000013DA 3F00 move.w -[A7], D0 000013DC 4879 0000 0442 push.l 0x442 000013E2 486E FFB0 pea.l [A6 - 0x50] 000013E6 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 000013EA 4FEF 000A lea.l A7, [A7 + 0xA] 000013EE 486E FFB0 pea.l [A6 - 0x50] 000013F2 3F3C 0009 move.w -[A7], 0x9 /* '\t' */ 000013F6 4EBA EF2C jsr [PC - 0x10D4 /* 00000324 */] 000013FA 5C8F addq.l A7, 6 000013FC 4E5E unlink A6 000013FE 4E75 rts 00001400 5445 addq.w D5, 2 00001402 4C4C 4D45 movem.l D0,D2,D6,A0,A2,A3,A6, A4 00001406 5449 addq.w A1, 2 fn00001408: 00001408 4E56 FFF2 link A6, -0x000E 0000140C 2F2D FDAE move.l -[A7], [A5 - 0x252] 00001410 A873 syscall SetPort 00001412 486E 0008 pea.l [A6 + 0x8] 00001416 A871 syscall GlobalToLocal 00001418 306E 000A movea.w A0, [A6 + 0xA] 0000141C 2008 move.l D0, A0 0000141E 81FC 0010 divs.w D0, 0x10 00001422 4840 swap.w D0 00001424 916E 000A sub.w [A6 + 0xA], D0 00001428 306E 0008 movea.w A0, [A6 + 0x8] 0000142C 2008 move.l D0, A0 0000142E 81FC 0010 divs.w D0, 0x10 00001432 4840 swap.w D0 00001434 916E 0008 sub.w [A6 + 0x8], D0 00001438 306E 000A movea.w A0, [A6 + 0xA] 0000143C 2008 move.l D0, A0 0000143E 81FC 0010 divs.w D0, 0x10 00001442 3D40 FFF6 move.w [A6 - 0xA], D0 00001446 306E 0008 movea.w A0, [A6 + 0x8] 0000144A 2008 move.l D0, A0 0000144C 81FC 0010 divs.w D0, 0x10 00001450 3D40 FFF4 move.w [A6 - 0xC], D0 00001454 302D FDB6 move.w D0, [A5 - 0x24A] 00001458 7209 moveq.l D1, 0x09 0000145A E368 lsl D0.w, D1 0000145C 322E FFF4 move.w D1, [A6 - 0xC] 00001460 EB49 lsl D1.w, 5 00001462 D041 add.w D0, D1 00001464 D06E FFF6 add.w D0, [A6 - 0xA] 00001468 3D40 FFF2 move.w [A6 - 0xE], D0 0000146C 0C6E 001F FFF6 cmpi.w [A6 - 0xA], 0x1F 00001472 6C16 bge +0x18 /* 0000148A */ 00001474 0C6E 000F FFF4 cmpi.w [A6 - 0xC], 0xF 0000147A 6C0E bge +0x10 /* 0000148A */ 0000147C 3F2E FFF2 move.w -[A7], [A6 - 0xE] 00001480 4EBA FECE jsr [PC - 0x132 /* 00001350 */] 00001484 548F addq.l A7, 2 00001486 4A40 tst.w D0 00001488 660A bne +0xC /* 00001494 */ label0000148A: 0000148A 3F3C 0005 move.w -[A7], 0x5 0000148E A9C8 syscall SysBeep 00001490 6000 0076 bra +0x78 /* 00001508 */ label00001494: 00001494 41ED ECE2 lea.l A0, [A5 - 0x131E] 00001498 D0EE FFF2 add.w A0, [A6 - 0xE] 0000149C 7000 moveq.l D0, 0x00 0000149E 1010 move.b D0, [A0] 000014A0 4A40 tst.w D0 000014A2 6610 bne +0x12 /* 000014B4 */ 000014A4 0C6D 0090 FDBA cmpi.w [A5 - 0x246], 0x90 000014AA 6608 bne +0xA /* 000014B4 */ 000014AC 3F3C 0005 move.w -[A7], 0x5 000014B0 A9C8 syscall SysBeep 000014B2 6054 bra +0x56 /* 00001508 */ label000014B4: 000014B4 41ED ECE2 lea.l A0, [A5 - 0x131E] 000014B8 D0EE FFF2 add.w A0, [A6 - 0xE] 000014BC 0850 0000 bchg.b [A0], 0x0 000014C0 41ED ECE2 lea.l A0, [A5 - 0x131E] 000014C4 D0EE FFF2 add.w A0, [A6 - 0xE] 000014C8 7000 moveq.l D0, 0x00 000014CA 1010 move.b D0, [A0] 000014CC D040 add.w D0, D0 000014CE 5340 subq.w D0, 1 000014D0 D16D FDBA add.w [A5 - 0x246], D0 000014D4 4EBA FED4 jsr [PC - 0x12C /* 000013AA */] 000014D8 486E FFF8 pea.l [A6 - 0x8] 000014DC 302E 000A move.w D0, [A6 + 0xA] 000014E0 5840 addq.w D0, 4 000014E2 3F00 move.w -[A7], D0 000014E4 302E 0008 move.w D0, [A6 + 0x8] 000014E8 5840 addq.w D0, 4 000014EA 3F00 move.w -[A7], D0 000014EC 302E 000A move.w D0, [A6 + 0xA] 000014F0 0640 001C addi.w D0, 0x1C 000014F4 3F00 move.w -[A7], D0 000014F6 302E 0008 move.w D0, [A6 + 0x8] 000014FA 0640 001C addi.w D0, 0x1C 000014FE 3F00 move.w -[A7], D0 00001500 A8A7 syscall SetRect 00001502 486E FFF8 pea.l [A6 - 0x8] 00001506 A8A4 syscall InvertRect label00001508: 00001508 4E5E unlink A6 0000150A 4E75 rts 0000150C 5041 addq.w D1, 8 0000150E 5454 addq.w [A4], 2 00001510 4552 chk.w D2, [A2] 00001512 4E43 trap 3 fn00001514: 00001514 4E56 FFF4 link A6, -0x000C 00001518 2F03 move.l -[A7], D3 0000151A 4A6D FDB6 tst.w [A5 - 0x24A] 0000151E 6700 0098 beq +0x9A /* 000015B8 */ 00001522 3F3C 0004 move.w -[A7], 0x4 00001526 3F3C 0004 move.w -[A7], 0x4 0000152A A89B syscall PenSize 0000152C 486D FCFC pea.l [A5 - 0x304] 00001530 A89D syscall PenPat 00001532 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001536 A89C syscall PenMode 00001538 426E FFFE clr.w [A6 - 0x2] 0000153C 6000 0070 bra +0x72 /* 000015AE */ label00001540: 00001540 426E FFFC clr.w [A6 - 0x4] 00001544 605C bra +0x5E /* 000015A2 */ label00001546: 00001546 302D FDB6 move.w D0, [A5 - 0x24A] 0000154A 5340 subq.w D0, 1 0000154C 7209 moveq.l D1, 0x09 0000154E E368 lsl D0.w, D1 00001550 322E FFFC move.w D1, [A6 - 0x4] 00001554 EB49 lsl D1.w, 5 00001556 D041 add.w D0, D1 00001558 D06E FFFE add.w D0, [A6 - 0x2] 0000155C 41ED ECE2 lea.l A0, [A5 - 0x131E] 00001560 D0C0 add.w A0, D0 00001562 4A10 tst.b [A0] 00001564 6738 beq +0x3A /* 0000159E */ 00001566 302E FFFE move.w D0, [A6 - 0x2] 0000156A E940 asl D0.w, 4 0000156C 322E FFFC move.w D1, [A6 - 0x4] 00001570 E941 asl D1.w, 4 00001572 342E FFFE move.w D2, [A6 - 0x2] 00001576 E942 asl D2.w, 4 00001578 362E FFFC move.w D3, [A6 - 0x4] 0000157C E943 asl D3.w, 4 0000157E 486E FFF4 pea.l [A6 - 0xC] 00001582 5240 addq.w D0, 1 00001584 3F00 move.w -[A7], D0 00001586 5241 addq.w D1, 1 00001588 3F01 move.w -[A7], D1 0000158A 0642 001F addi.w D2, 0x1F 0000158E 3F02 move.w -[A7], D2 00001590 0643 001F addi.w D3, 0x1F 00001594 3F03 move.w -[A7], D3 00001596 A8A7 syscall SetRect 00001598 486E FFF4 pea.l [A6 - 0xC] 0000159C A8A1 syscall FrameRect label0000159E: 0000159E 526E FFFC addq.w [A6 - 0x4], 1 label000015A2: 000015A2 0C6E 0010 FFFC cmpi.w [A6 - 0x4], 0x10 000015A8 6D9C blt -0x62 /* 00001546 */ 000015AA 526E FFFE addq.w [A6 - 0x2], 1 label000015AE: 000015AE 0C6E 0020 FFFE cmpi.w [A6 - 0x2], 0x20 /* ' ' */ 000015B4 6D8A blt -0x74 /* 00001540 */ 000015B6 A89E syscall PenNormal label000015B8: 000015B8 426E FFFE clr.w [A6 - 0x2] 000015BC 6000 006E bra +0x70 /* 0000162C */ label000015C0: 000015C0 426E FFFC clr.w [A6 - 0x4] 000015C4 605A bra +0x5C /* 00001620 */ label000015C6: 000015C6 302D FDB6 move.w D0, [A5 - 0x24A] 000015CA 7209 moveq.l D1, 0x09 000015CC E368 lsl D0.w, D1 000015CE 322E FFFC move.w D1, [A6 - 0x4] 000015D2 EB49 lsl D1.w, 5 000015D4 D041 add.w D0, D1 000015D6 D06E FFFE add.w D0, [A6 - 0x2] 000015DA 41ED ECE2 lea.l A0, [A5 - 0x131E] 000015DE D0C0 add.w A0, D0 000015E0 4A10 tst.b [A0] 000015E2 6738 beq +0x3A /* 0000161C */ 000015E4 302E FFFE move.w D0, [A6 - 0x2] 000015E8 E940 asl D0.w, 4 000015EA 322E FFFC move.w D1, [A6 - 0x4] 000015EE E941 asl D1.w, 4 000015F0 342E FFFE move.w D2, [A6 - 0x2] 000015F4 E942 asl D2.w, 4 000015F6 362E FFFC move.w D3, [A6 - 0x4] 000015FA E943 asl D3.w, 4 000015FC 486E FFF4 pea.l [A6 - 0xC] 00001600 5840 addq.w D0, 4 00001602 3F00 move.w -[A7], D0 00001604 5841 addq.w D1, 4 00001606 3F01 move.w -[A7], D1 00001608 0642 001C addi.w D2, 0x1C 0000160C 3F02 move.w -[A7], D2 0000160E 0643 001C addi.w D3, 0x1C 00001612 3F03 move.w -[A7], D3 00001614 A8A7 syscall SetRect 00001616 486E FFF4 pea.l [A6 - 0xC] 0000161A A8A4 syscall InvertRect label0000161C: 0000161C 526E FFFC addq.w [A6 - 0x4], 1 label00001620: 00001620 0C6E 0010 FFFC cmpi.w [A6 - 0x4], 0x10 00001626 6D9E blt -0x60 /* 000015C6 */ 00001628 526E FFFE addq.w [A6 - 0x2], 1 label0000162C: 0000162C 0C6E 0020 FFFE cmpi.w [A6 - 0x2], 0x20 /* ' ' */ 00001632 6D8C blt -0x72 /* 000015C0 */ 00001634 261F move.l D3, [A7]+ 00001636 4E5E unlink A6 00001638 4E75 rts 0000163A 5245 addq.w D5, 1 0000163C 4452 neg.w [A2] 0000163E 4157 chk.w D0, [A7] 00001640 5449 addq.w A1, 2 fn00001642: 00001642 4E56 FFFE link A6, -0x0002 00001646 2F2D FDAE move.l -[A7], [A5 - 0x252] 0000164A A922 syscall BeginUpdate 0000164C 2F2D FDAE move.l -[A7], [A5 - 0x252] 00001650 A873 syscall SetPort 00001652 7010 moveq.l D0, 0x10 00001654 3D40 FFFE move.w [A6 - 0x2], D0 00001658 6036 bra +0x38 /* 00001690 */ label0000165A: 0000165A 306E FFFE movea.w A0, [A6 - 0x2] 0000165E 2008 move.l D0, A0 00001660 81FC 0040 divs.w D0, 0x40 /* '@' */ 00001664 4840 swap.w D0 00001666 4A40 tst.w D0 00001668 6608 bne +0xA /* 00001672 */ 0000166A 486D FD0C pea.l [A5 - 0x2F4] 0000166E A89D syscall PenPat 00001670 6006 bra +0x8 /* 00001678 */ label00001672: 00001672 486D FD04 pea.l [A5 - 0x2FC] 00001676 A89D syscall PenPat label00001678: 00001678 3F2E FFFE move.w -[A7], [A6 - 0x2] 0000167C 4267 clr.w -[A7] 0000167E A893 syscall MoveTo 00001680 3F2E FFFE move.w -[A7], [A6 - 0x2] 00001684 3F3C 0100 move.w -[A7], 0x100 00001688 A891 syscall LineTo 0000168A 066E 0010 FFFE addi.w [A6 - 0x2], 0x10 label00001690: 00001690 0C6E 0200 FFFE cmpi.w [A6 - 0x2], 0x200 00001696 6DC2 blt -0x3C /* 0000165A */ 00001698 7010 moveq.l D0, 0x10 0000169A 3D40 FFFE move.w [A6 - 0x2], D0 0000169E 6036 bra +0x38 /* 000016D6 */ label000016A0: 000016A0 306E FFFE movea.w A0, [A6 - 0x2] 000016A4 2008 move.l D0, A0 000016A6 81FC 0040 divs.w D0, 0x40 /* '@' */ 000016AA 4840 swap.w D0 000016AC 4A40 tst.w D0 000016AE 6608 bne +0xA /* 000016B8 */ 000016B0 486D FD0C pea.l [A5 - 0x2F4] 000016B4 A89D syscall PenPat 000016B6 6006 bra +0x8 /* 000016BE */ label000016B8: 000016B8 486D FD04 pea.l [A5 - 0x2FC] 000016BC A89D syscall PenPat label000016BE: 000016BE 4267 clr.w -[A7] 000016C0 3F2E FFFE move.w -[A7], [A6 - 0x2] 000016C4 A893 syscall MoveTo 000016C6 3F3C 0200 move.w -[A7], 0x200 000016CA 3F2E FFFE move.w -[A7], [A6 - 0x2] 000016CE A891 syscall LineTo 000016D0 066E 0010 FFFE addi.w [A6 - 0x2], 0x10 label000016D6: 000016D6 0C6E 0100 FFFE cmpi.w [A6 - 0x2], 0x100 000016DC 6DC2 blt -0x3C /* 000016A0 */ 000016DE 4EBA FE34 jsr [PC - 0x1CC /* 00001514 */] 000016E2 2F2D FDAE move.l -[A7], [A5 - 0x252] 000016E6 A923 syscall EndUpdate 000016E8 4E5E unlink A6 000016EA 4E75 rts 000016EC 5550 subq.w [A0], 2 000016EE 4441 neg.w D1 000016F0 5445 addq.w D5, 2 000016F2 5041 addq.w D1, 8 fn000016F4: 000016F4 3F3C 0003 move.w -[A7], 0x3 000016F8 3F3C 0007 move.w -[A7], 0x7 000016FC 3F3C 0003 move.w -[A7], 0x3 00001700 4EBA EB1A jsr [PC - 0x14E6 /* 0000021C */] 00001704 5C8F addq.l A7, 6 00001706 4E75 rts fn00001708: 00001708 4E56 FFFA link A6, -0x0006 0000170C 0C6E 0003 0008 cmpi.w [A6 + 0x8], 0x3 00001712 6D00 0064 blt +0x66 /* 00001778 */ 00001716 0C6E 0007 0008 cmpi.w [A6 + 0x8], 0x7 0000171C 6E5A bgt +0x5C /* 00001778 */ 0000171E 3F3C 0007 move.w -[A7], 0x7 00001722 3F3C 0003 move.w -[A7], 0x3 00001726 4EBA EBA4 jsr [PC - 0x145C /* 000002CC */] 0000172A 588F addq.l A7, 4 0000172C 3D40 FFFE move.w [A6 - 0x2], D0 00001730 302E 0008 move.w D0, [A6 + 0x8] 00001734 B06E FFFE cmp.w D0, [A6 - 0x2] 00001738 6736 beq +0x38 /* 00001770 */ 0000173A 3F2E 0008 move.w -[A7], [A6 + 0x8] 0000173E 3F3C 0007 move.w -[A7], 0x7 00001742 3F3C 0003 move.w -[A7], 0x3 00001746 4EBA EAD4 jsr [PC - 0x152C /* 0000021C */] 0000174A 5C8F addq.l A7, 6 0000174C 302E 0008 move.w D0, [A6 + 0x8] 00001750 5740 subq.w D0, 3 00001752 3B40 FDB6 move.w [A5 - 0x24A], D0 00001756 2F2D FDAE move.l -[A7], [A5 - 0x252] 0000175A A873 syscall SetPort 0000175C 206D FDAE movea.l A0, [A5 - 0x252] 00001760 4868 0010 pea.l [A0 + 0x10] 00001764 A8A3 syscall EraseRect 00001766 206D FDAE movea.l A0, [A5 - 0x252] 0000176A 4868 0010 pea.l [A0 + 0x10] 0000176E A928 syscall InvalRect label00001770: 00001770 302E 0008 move.w D0, [A6 + 0x8] 00001774 6000 009C bra +0x9E /* 00001812 */ label00001778: 00001778 0C6E 0002 0008 cmpi.w [A6 + 0x8], 0x2 0000177E 663A bne +0x3C /* 000017BA */ 00001780 4A6D FDBC tst.w [A5 - 0x244] 00001784 670C beq +0xE /* 00001792 */ 00001786 41F9 0000 0456 lea.l A0, [0x00000456] 0000178C 2D48 FFFA move.l [A6 - 0x6], A0 00001790 600A bra +0xC /* 0000179C */ label00001792: 00001792 41F9 0000 0486 lea.l A0, [0x00000486] 00001798 2D48 FFFA move.l [A6 - 0x6], A0 label0000179C: 0000179C 2F2E FFFA move.l -[A7], [A6 - 0x6] 000017A0 4EBA 0E2A jsr [PC + 0xE2A /* 000025CC */] 000017A4 588F addq.l A7, 4 000017A6 4A40 tst.w D0 000017A8 6606 bne +0x8 /* 000017B0 */ 000017AA 7000 moveq.l D0, 0x00 000017AC 6000 0064 bra +0x66 /* 00001812 */ label000017B0: 000017B0 7002 moveq.l D0, 0x02 000017B2 3B40 FDB8 move.w [A5 - 0x248], D0 000017B6 6000 005A bra +0x5C /* 00001812 */ label000017BA: 000017BA 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1 000017C0 6600 0050 bne +0x52 /* 00001812 */ 000017C4 0C6D 0090 FDBA cmpi.w [A5 - 0x246], 0x90 000017CA 6C10 bge +0x12 /* 000017DC */ 000017CC 4879 0000 04C4 push.l 0x4C4 000017D2 4EBA 0D66 jsr [PC + 0xD66 /* 0000253A */] 000017D6 588F addq.l A7, 4 000017D8 7000 moveq.l D0, 0x00 000017DA 6036 bra +0x38 /* 00001812 */ label000017DC: 000017DC 4A6D FDBC tst.w [A5 - 0x244] 000017E0 672A beq +0x2C /* 0000180C */ 000017E2 4879 0000 0504 push.l 0x504 000017E8 4EBA 27B0 jsr [PC + 0x27B0 /* 00003F9A */] 000017EC 588F addq.l A7, 4 000017EE 2B40 FDBE move.l [A5 - 0x242], D0 000017F2 4A80 tst.l D0 000017F4 6604 bne +0x6 /* 000017FA */ 000017F6 7000 moveq.l D0, 0x00 000017F8 6018 bra +0x1A /* 00001812 */ label000017FA: 000017FA 2F2D FDBE move.l -[A7], [A5 - 0x242] 000017FE 4EBA F804 jsr [PC - 0x7FC /* 00001004 */] 00001802 588F addq.l A7, 4 00001804 4A40 tst.w D0 00001806 6604 bne +0x6 /* 0000180C */ 00001808 7000 moveq.l D0, 0x00 0000180A 6006 bra +0x8 /* 00001812 */ label0000180C: 0000180C 7001 moveq.l D0, 0x01 0000180E 3B40 FDB8 move.w [A5 - 0x248], D0 label00001812: 00001812 4E5E unlink A6 00001814 4E75 rts 00001816 5041 addq.w D1, 8 00001818 5454 addq.w [A4], 2 0000181A 4552 chk.w D2, [A2] 0000181C 4E43 trap 3 fn0000181E: 0000181E 4E56 FFFC link A6, -0x0004 00001822 426E FFFE clr.w [A6 - 0x2] 00001826 426E FFFC clr.w [A6 - 0x4] 0000182A 600E bra +0x10 /* 0000183A */ label0000182C: 0000182C 41ED F6E2 lea.l A0, [A5 - 0x91E] 00001830 D0EE FFFC add.w A0, [A6 - 0x4] 00001834 4210 clr.b [A0] 00001836 526E FFFC addq.w [A6 - 0x4], 1 label0000183A: 0000183A 0C6E 0140 FFFC cmpi.w [A6 - 0x4], 0x140 00001840 6DEA blt -0x14 /* 0000182C */ 00001842 6032 bra +0x34 /* 00001876 */ label00001844: 00001844 41ED ECE2 lea.l A0, [A5 - 0x131E] 00001848 D0EE FFFE add.w A0, [A6 - 0x2] 0000184C 4A10 tst.b [A0] 0000184E 6722 beq +0x24 /* 00001872 */ 00001850 306E FFFE movea.w A0, [A6 - 0x2] 00001854 2008 move.l D0, A0 00001856 81FC 0008 divs.w D0, 0x8 0000185A 41ED F6E2 lea.l A0, [A5 - 0x91E] 0000185E D0C0 add.w A0, D0 00001860 326E FFFE movea.w A1, [A6 - 0x2] 00001864 2009 move.l D0, A1 00001866 81FC 0008 divs.w D0, 0x8 0000186A 4840 swap.w D0 0000186C 7201 moveq.l D1, 0x01 0000186E E169 lsl D1.w, D0 00001870 8310 or.b [A0], D1 label00001872: 00001872 526E FFFE addq.w [A6 - 0x2], 1 label00001876: 00001876 0C6E 0A00 FFFE cmpi.w [A6 - 0x2], 0xA00 /* '\n\0' */ 0000187C 6DC6 blt -0x38 /* 00001844 */ 0000187E 4E5E unlink A6 00001880 4E75 rts 00001882 424F clr.w A7 00001884 4152 chk.w D0, [A2] 00001886 4454 neg.w [A4] 00001888 4F50 chk.w D7, [A0] fn0000188A: 0000188A 4E56 FFFA link A6, -0x0006 0000188E 206E 0008 movea.l A0, [A6 + 0x8] 00001892 1010 move.b D0, [A0] 00001894 4880 ext.w D0 00001896 5240 addq.w D0, 1 00001898 3F00 move.w -[A7], D0 0000189A 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000189E 486D FDC2 pea.l [A5 - 0x23E] 000018A2 4EAD 00CA jsr [A5 + 0xCA /* export_21 */] 000018A6 4FEF 000A lea.l A7, [A7 + 0xA] 000018AA 598F subq.l A7, 4 000018AC 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 000018B2 2F2E 0008 move.l -[A7], [A6 + 0x8] 000018B6 A9A1 syscall GetNamedResource 000018B8 205F movea.l A0, [A7]+ 000018BA 2D48 FFFC move.l [A6 - 0x4], A0 000018BE 2F2E FFFC move.l -[A7], [A6 - 0x4] 000018C2 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 000018C6 2F2E FFFC move.l -[A7], [A6 - 0x4] 000018CA 4EAD 013A jsr [A5 + 0x13A /* export_35 */] 000018CE 2F2E FFFC move.l -[A7], [A6 - 0x4] 000018D2 4EBA 0DCC jsr [PC + 0xDCC /* 000026A0 */] 000018D6 588F addq.l A7, 4 000018D8 3D40 FFFA move.w [A6 - 0x6], D0 000018DC 3F3C 0140 move.w -[A7], 0x140 000018E0 486D F6E2 pea.l [A5 - 0x91E] 000018E4 206E FFFC movea.l A0, [A6 - 0x4] 000018E8 2F10 move.l -[A7], [A0] 000018EA 4EBA 0F54 jsr [PC + 0xF54 /* 00002840 */] 000018EE 4FEF 000A lea.l A7, [A7 + 0xA] 000018F2 2F2E FFFC move.l -[A7], [A6 - 0x4] 000018F6 A9A3 syscall ReleaseResource 000018F8 302E FFFA move.w D0, [A6 - 0x6] 000018FC 4E5E unlink A6 000018FE 4E75 rts 00001900 5049 addq.w A1, 8 00001902 434B chk.w D1, A3 00001904 4150 chk.w D0, [A0] 00001906 4154 chk.w D0, [A4] fn00001908: 00001908 4E56 FFFA link A6, -0x0006 0000190C 598F subq.l A7, 4 0000190E 4879 6D23 504E push.l 0x6D23504E /* 'm#PN' */ 00001914 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001918 A9A1 syscall GetNamedResource 0000191A 205F movea.l A0, [A7]+ 0000191C 2D48 FFFA move.l [A6 - 0x6], A0 00001920 558F subq.l A7, 2 00001922 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001926 A9A4 syscall HomeResFile 00001928 301F move.w D0, [A7]+ 0000192A 3D40 FFFE move.w [A6 - 0x2], D0 0000192E 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001932 A9AD syscall RemoveResource/RmveResource 00001934 3F2E FFFE move.w -[A7], [A6 - 0x2] 00001938 A999 syscall UpdateResFile 0000193A 2F2E FFFA move.l -[A7], [A6 - 0x6] 0000193E 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00001942 4E5E unlink A6 00001944 4E75 rts 00001946 5452 addq.w [A2], 2 00001948 5952 subq.w [A2], 4 0000194A 454D chk.w D2, A5 0000194C 4F56 chk.w D7, [A6] fn0000194E: 0000194E 4879 0000 0516 push.l 0x516 00001954 4EBA 0C76 jsr [PC + 0xC76 /* 000025CC */] 00001958 588F addq.l A7, 4 0000195A 4A40 tst.w D0 0000195C 6718 beq +0x1A /* 00001976 */ 0000195E 486D FDC2 pea.l [A5 - 0x23E] 00001962 4EBA FFA4 jsr [PC - 0x5C /* 00001908 */] 00001966 588F addq.l A7, 4 00001968 4EBA F4DE jsr [PC - 0xB22 /* 00000E48 */] 0000196C 3F3C 0005 move.w -[A7], 0x5 00001970 4EBA F1C0 jsr [PC - 0xE40 /* 00000B32 */] 00001974 548F addq.l A7, 2 label00001976: 00001976 4E75 rts fn00001978: 00001978 4E56 0000 link A6, 0 0000197C 558F subq.l A7, 2 0000197E A995 syscall InitResources 00001980 301F move.w D0, [A7]+ 00001982 486D FD1C pea.l [A5 - 0x2E4] 00001986 A86E syscall InitGraf 00001988 A8FE syscall InitFonts 0000198A A912 syscall InitWindows 0000198C A930 syscall InitMenus 0000198E A9CC syscall TEInit 00001990 42A7 clr.l -[A7] 00001992 A97B syscall InitDialogs 00001994 A9E6 syscall InitAllPacks 00001996 4EAD 00FA jsr [A5 + 0xFA /* export_27 */] 0000199A 486D FAC4 pea.l [A5 - 0x53C] 0000199E A86F syscall OpenPort 000019A0 486D FAC4 pea.l [A5 - 0x53C] 000019A4 A873 syscall SetPort 000019A6 A850 syscall InitCursor 000019A8 4EBA 33D2 jsr [PC + 0x33D2 /* 00004D7C */] 000019AC 2F2E 0008 move.l -[A7], [A6 + 0x8] 000019B0 4EBA 008A jsr [PC + 0x8A /* 00001A3C */] 000019B4 588F addq.l A7, 4 000019B6 598F subq.l A7, 4 000019B8 A975 syscall TickCount 000019BA 201F move.l D0, [A7]+ 000019BC 0280 0000 FFFF andi.l D0, 0xFFFF 000019C2 48C0 ext.l D0 000019C4 2B40 FC9E move.l [A5 - 0x362], D0 000019C8 558F subq.l A7, 2 000019CA 4879 0000 0196 push.l 0x196 000019D0 A997 syscall OpenResFile 000019D2 301F move.w D0, [A7]+ 000019D4 558F subq.l A7, 2 000019D6 2F2E 000C move.l -[A7], [A6 + 0xC] 000019DA A997 syscall OpenResFile 000019DC 301F move.w D0, [A7]+ 000019DE 4EBA 3550 jsr [PC + 0x3550 /* 00004F30 */] 000019E2 4EBA EE7A jsr [PC - 0x1186 /* 0000085E */] 000019E6 3F3C 0140 move.w -[A7], 0x140 000019EA 3F3C 0200 move.w -[A7], 0x200 000019EE 4EBA 09DC jsr [PC + 0x9DC /* 000023CC */] 000019F2 588F addq.l A7, 4 000019F4 2B40 FB30 move.l [A5 - 0x4D0], D0 000019F8 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 000019FC A873 syscall SetPort 000019FE 486D FB40 pea.l [A5 - 0x4C0] 00001A02 A8A3 syscall EraseRect 00001A04 3F3C 0140 move.w -[A7], 0x140 00001A08 3F3C 0200 move.w -[A7], 0x200 00001A0C 4EBA 09BE jsr [PC + 0x9BE /* 000023CC */] 00001A10 588F addq.l A7, 4 00001A12 2B40 FB38 move.l [A5 - 0x4C8], D0 00001A16 3F3C 00C0 move.w -[A7], 0xC0 00001A1A 3F3C 00C0 move.w -[A7], 0xC0 00001A1E 4EBA 09AC jsr [PC + 0x9AC /* 000023CC */] 00001A22 588F addq.l A7, 4 00001A24 2B40 FB34 move.l [A5 - 0x4CC], D0 00001A28 4EBA F1A0 jsr [PC - 0xE60 /* 00000BCA */] 00001A2C 4EBA F34E jsr [PC - 0xCB2 /* 00000D7C */] 00001A30 4E5E unlink A6 00001A32 4E75 rts 00001A34 4D41 chk.w D6, D1 00001A36 4349 chk.w D1, A1 00001A38 4E49 trap 9 00001A3A 5420 addq.b -[A0], 2 fn00001A3C: 00001A3C 4E56 FFF0 link A6, -0x0010 00001A40 41EE FFF8 lea.l A0, [A6 - 0x8] 00001A44 43ED FB40 lea.l A1, [A5 - 0x4C0] 00001A48 20D9 move.l [A0]+, [A1]+ 00001A4A 20D9 move.l [A0]+, [A1]+ 00001A4C 0C6D 016A FCAC cmpi.w [A5 - 0x354], 0x16A 00001A52 6C04 bge +0x6 /* 00001A58 */ 00001A54 7014 moveq.l D0, 0x14 00001A56 6002 bra +0x4 /* 00001A5A */ label00001A58: 00001A58 7028 moveq.l D0, 0x28 label00001A5A: 00001A5A 486E FFF8 pea.l [A6 - 0x8] 00001A5E 4267 clr.w -[A7] 00001A60 3F00 move.w -[A7], D0 00001A62 A8A8 syscall OffsetRect 00001A64 598F subq.l A7, 4 00001A66 42A7 clr.l -[A7] 00001A68 486E FFF8 pea.l [A6 - 0x8] 00001A6C 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001A70 1F3C 0001 move.b -[A7], 0x1 00001A74 3F3C 0004 move.w -[A7], 0x4 00001A78 4878 FFFF push.l 0xFFFF 00001A7C 4267 clr.w -[A7] 00001A7E 4878 0001 push.l 0x1 00001A82 A913 syscall NewWindow 00001A84 205F movea.l A0, [A7]+ 00001A86 2B48 FB3C move.l [A5 - 0x4C4], A0 00001A8A 4E5E unlink A6 00001A8C 4E75 rts 00001A8E 4745 chk.w D3, D5 00001A90 5453 addq.w [A3], 2 00001A92 4352 chk.w D1, [A2] 00001A94 5749 subq.w A1, 3 fn00001A96: 00001A96 4E56 FFF0 link A6, -0x0010 00001A9A 206E 000C movea.l A0, [A6 + 0xC] 00001A9E 226E 000C movea.l A1, [A6 + 0xC] 00001AA2 3029 0004 move.w D0, [A1 + 0x4] 00001AA6 9050 sub.w D0, [A0] 00001AA8 3D40 FFF6 move.w [A6 - 0xA], D0 00001AAC 206E 000C movea.l A0, [A6 + 0xC] 00001AB0 226E 000C movea.l A1, [A6 + 0xC] 00001AB4 3029 0006 move.w D0, [A1 + 0x6] 00001AB8 9068 0002 sub.w D0, [A0 + 0x2] 00001ABC 3D40 FFF4 move.w [A6 - 0xC], D0 00001AC0 206E 0010 movea.l A0, [A6 + 0x10] 00001AC4 226E 0010 movea.l A1, [A6 + 0x10] 00001AC8 3029 0004 move.w D0, [A1 + 0x4] 00001ACC 9050 sub.w D0, [A0] 00001ACE 3D40 FFF2 move.w [A6 - 0xE], D0 00001AD2 206E 0010 movea.l A0, [A6 + 0x10] 00001AD6 226E 0010 movea.l A1, [A6 + 0x10] 00001ADA 3029 0006 move.w D0, [A1 + 0x6] 00001ADE 9068 0002 sub.w D0, [A0 + 0x2] 00001AE2 3D40 FFF0 move.w [A6 - 0x10], D0 00001AE6 302E FFF6 move.w D0, [A6 - 0xA] 00001AEA 906E FFF2 sub.w D0, [A6 - 0xE] 00001AEE 48C0 ext.l D0 00001AF0 81FC 0002 divs.w D0, 0x2 00001AF4 206E 000C movea.l A0, [A6 + 0xC] 00001AF8 D050 add.w D0, [A0] 00001AFA 3D40 FFF8 move.w [A6 - 0x8], D0 00001AFE 302E FFF4 move.w D0, [A6 - 0xC] 00001B02 906E FFF0 sub.w D0, [A6 - 0x10] 00001B06 48C0 ext.l D0 00001B08 81FC 0002 divs.w D0, 0x2 00001B0C 206E 000C movea.l A0, [A6 + 0xC] 00001B10 D068 0002 add.w D0, [A0 + 0x2] 00001B14 3D40 FFFA move.w [A6 - 0x6], D0 00001B18 302E FFF8 move.w D0, [A6 - 0x8] 00001B1C D06E FFF2 add.w D0, [A6 - 0xE] 00001B20 3D40 FFFC move.w [A6 - 0x4], D0 00001B24 302E FFFA move.w D0, [A6 - 0x6] 00001B28 D06E FFF0 add.w D0, [A6 - 0x10] 00001B2C 3D40 FFFE move.w [A6 - 0x2], D0 00001B30 206E 0008 movea.l A0, [A6 + 0x8] 00001B34 43EE FFF8 lea.l A1, [A6 - 0x8] 00001B38 20D9 move.l [A0]+, [A1]+ 00001B3A 20D9 move.l [A0]+, [A1]+ 00001B3C 4E5E unlink A6 00001B3E 4E75 rts 00001B40 4D43 chk.w D6, D3 00001B42 454E chk.w D2, A6 00001B44 5445 addq.w D5, 2 00001B46 5252 addq.w [A2], 1 fn00001B48: 00001B48 4E56 0000 link A6, 0 00001B4C 4E5E unlink A6 00001B4E 4E75 rts 00001B50 4841 swap.w D1 00001B52 4E44 trap 4 00001B54 4C45 4E4F movem.l D0,D1,D2,D3,D6,A1,A2,A3,A6, D5 fn00001B58: 00001B58 4E56 FFF8 link A6, -0x0008 00001B5C 206E 0008 movea.l A0, [A6 + 0x8] 00001B60 2D68 0002 FFFC move.l [A6 - 0x4], [A0 + 0x2] 00001B66 598F subq.l A7, 4 00001B68 2F2E FFFC move.l -[A7], [A6 - 0x4] 00001B6C A917 syscall GetWRefCon 00001B6E 201F move.l D0, [A7]+ 00001B70 2D40 FFF8 move.l [A6 - 0x8], D0 00001B74 206E 0008 movea.l A0, [A6 + 0x8] 00001B78 0828 0001 000F btst.b [A0 + 0xF], 0x1 00001B7E 4E5E unlink A6 00001B80 4E75 rts 00001B82 4841 swap.w D1 00001B84 4E44 trap 4 00001B86 4C45 4143 movem.l D0,D1,D6,A0,A6, D5 fn00001B8A: 00001B8A 4E56 FFFA link A6, -0x0006 00001B8E 426D FB48 clr.w [A5 - 0x4B8] 00001B92 558F subq.l A7, 2 00001B94 206E 0008 movea.l A0, [A6 + 0x8] 00001B98 2F28 000A move.l -[A7], [A0 + 0xA] 00001B9C 486E FFFA pea.l [A6 - 0x6] 00001BA0 A92C syscall FindWindow 00001BA2 301F move.w D0, [A7]+ 00001BA4 3D40 FFFE move.w [A6 - 0x2], D0 00001BA8 302E FFFE move.w D0, [A6 - 0x2] 00001BAC 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00001BB0 0000 0008 ori.b D0, 0x8 00001BB4 0082 0080 0010 ori.l D2, 0x800010 00001BBA 001C 0026 ori.b [A4]+, 0x26 /* '&' */ 00001BBE 0034 0042 0050 ori.b [A4 + D0.w + 0x50], 0x42 /* 'B' */ 00001BC4 005E 005C ori.w [A6]+, 0x5C /* '\\' */ 00001BC8 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001BCC 4EBA ED36 jsr [PC - 0x12CA /* 00000904 */] 00001BD0 588F addq.l A7, 4 00001BD2 6000 0062 bra +0x64 /* 00001C36 */ 00001BD6 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001BDA 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001BDE A9B3 syscall SystemClick 00001BE0 6054 bra +0x56 /* 00001C36 */ 00001BE2 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001BE6 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001BEA 4EBA 0066 jsr [PC + 0x66 /* 00001C52 */] 00001BEE 508F addq.l A7, 8 00001BF0 6044 bra +0x46 /* 00001C36 */ 00001BF2 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001BF6 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001BFA 4EBA 0130 jsr [PC + 0x130 /* 00001D2C */] 00001BFE 508F addq.l A7, 8 00001C00 6034 bra +0x36 /* 00001C36 */ 00001C02 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001C06 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001C0A 4EBA 0178 jsr [PC + 0x178 /* 00001D84 */] 00001C0E 508F addq.l A7, 8 00001C10 6024 bra +0x26 /* 00001C36 */ 00001C12 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001C16 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001C1A 4EBA 01F6 jsr [PC + 0x1F6 /* 00001E12 */] 00001C1E 508F addq.l A7, 8 00001C20 6014 bra +0x16 /* 00001C36 */ 00001C22 3F2E FFFE move.w -[A7], [A6 - 0x2] 00001C26 2F2E FFFA move.l -[A7], [A6 - 0x6] 00001C2A 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001C2E 4EBA 0212 jsr [PC + 0x212 /* 00001E42 */] 00001C32 4FEF 000A lea.l A7, [A7 + 0xA] label00001C36: 00001C36 4E5E unlink A6 00001C38 4E75 rts 00001C3A 4841 swap.w D1 00001C3C 4E44 trap 4 00001C3E 4C45 4D4F movem.l D0,D1,D2,D3,D6,A0,A2,A3,A6, D5 fn00001C42: 00001C42 4E56 0000 link A6, 0 00001C46 4E5E unlink A6 00001C48 4E75 rts 00001C4A 4841 swap.w D1 00001C4C 4E44 trap 4 00001C4E 4C45 4D4F movem.l D0,D1,D2,D3,D6,A0,A2,A3,A6, D5 fn00001C52: 00001C52 4E56 FFF6 link A6, -0x000A 00001C56 206E 0008 movea.l A0, [A6 + 0x8] 00001C5A 2D68 000A FFFC move.l [A6 - 0x4], [A0 + 0xA] 00001C60 2F2E 000C move.l -[A7], [A6 + 0xC] 00001C64 A873 syscall SetPort 00001C66 486E FFFC pea.l [A6 - 0x4] 00001C6A A871 syscall GlobalToLocal 00001C6C 558F subq.l A7, 2 00001C6E 2F2E FFFC move.l -[A7], [A6 - 0x4] 00001C72 2F2E 000C move.l -[A7], [A6 + 0xC] 00001C76 486E FFF6 pea.l [A6 - 0xA] 00001C7A A96C syscall FindControl 00001C7C 301F move.w D0, [A7]+ 00001C7E 3D40 FFFA move.w [A6 - 0x6], D0 00001C82 302E FFFA move.w D0, [A6 - 0x6] 00001C86 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 00001C8A 0008 0022 ori.b A0, 0x22 /* '\"' */ 00001C8E 0000 0054 ori.b D0, 0x54 /* 'T' */ 00001C92 000A 0060 ori.b A2, 0x60 /* '`' */ 00001C96 000B 006C ori.b A3, 0x6C /* 'l' */ 00001C9A 0014 0068 ori.b [A4], 0x68 /* 'h' */ 00001C9E 0015 0064 ori.b [A5], 0x64 /* 'd' */ 00001CA2 0016 0060 ori.b [A6], 0x60 /* '`' */ 00001CA6 0017 006A ori.b [A7], 0x6A /* 'j' */ 00001CAA 0081 0074 598F ori.l D1, 0x74598F 00001CB0 A924 syscall FrontWindow 00001CB2 205F movea.l A0, [A7]+ 00001CB4 B1EE 000C cmpa.l A0, [A6 + 0xC] 00001CB8 6706 beq +0x8 /* 00001CC0 */ 00001CBA 2F2E 000C move.l -[A7], [A6 + 0xC] 00001CBE A91F syscall SelectWindow label00001CC0: 00001CC0 598F subq.l A7, 4 00001CC2 2F2E 000C move.l -[A7], [A6 + 0xC] 00001CC6 A917 syscall GetWRefCon 00001CC8 201F move.l D0, [A7]+ 00001CCA 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 00001CCE 0001 0008 ori.b D1, 0x8 00001CD2 0000 0001 ori.b D0, 0x1 00001CD6 004A 2F2E ori.w A2, 0x2F2E /* '/.' */ 00001CDA FFFC .invalid <> 00001CDC 4EBA 12D8 jsr [PC + 0x12D8 /* 00002FB6 */] 00001CE0 588F addq.l A7, 4 00001CE2 603C bra +0x3E /* 00001D20 */ 00001CE4 486E FFFC pea.l [A6 - 0x4] 00001CE8 2F2E FFF6 move.l -[A7], [A6 - 0xA] 00001CEC 4EBA 01F2 jsr [PC + 0x1F2 /* 00001EE0 */] 00001CF0 508F addq.l A7, 8 00001CF2 602C bra +0x2E /* 00001D20 */ 00001CF4 486E FFFC pea.l [A6 - 0x4] 00001CF8 2F2E FFF6 move.l -[A7], [A6 - 0xA] 00001CFC 4EBA 022C jsr [PC + 0x22C /* 00001F2A */] 00001D00 508F addq.l A7, 8 00001D02 601C bra +0x1E /* 00001D20 */ 00001D04 486E FFFC pea.l [A6 - 0x4] 00001D08 2F2E FFF6 move.l -[A7], [A6 - 0xA] 00001D0C 4EBA 02CC jsr [PC + 0x2CC /* 00001FDA */] 00001D10 508F addq.l A7, 8 00001D12 486E FFFC pea.l [A6 - 0x4] 00001D16 2F2E FFF6 move.l -[A7], [A6 - 0xA] 00001D1A 4EBA 0258 jsr [PC + 0x258 /* 00001F74 */] 00001D1E 508F addq.l A7, 8 label00001D20: 00001D20 4E5E unlink A6 00001D22 4E75 rts 00001D24 4841 swap.w D1 00001D26 4E44 trap 4 00001D28 4C45 434F movem.l D0,D1,D2,D3,D6,A0,A1,A6, D5 fn00001D2C: 00001D2C 4E56 FFF4 link A6, -0x000C 00001D30 41EE FFF4 lea.l A0, [A6 - 0xC] 00001D34 43ED FCA8 lea.l A1, [A5 - 0x358] 00001D38 20D9 move.l [A0]+, [A1]+ 00001D3A 20D9 move.l [A0]+, [A1]+ 00001D3C 486E FFF4 pea.l [A6 - 0xC] 00001D40 3F3C 0005 move.w -[A7], 0x5 00001D44 3F3C 0005 move.w -[A7], 0x5 00001D48 A8A9 syscall InsetRect 00001D4A 486E FFFC pea.l [A6 - 0x4] 00001D4E A874 syscall GetPort 00001D50 2F2E 000C move.l -[A7], [A6 + 0xC] 00001D54 A873 syscall SetPort 00001D56 2F2E 000C move.l -[A7], [A6 + 0xC] 00001D5A 206E 0008 movea.l A0, [A6 + 0x8] 00001D5E 2F28 000A move.l -[A7], [A0 + 0xA] 00001D62 486E FFF4 pea.l [A6 - 0xC] 00001D66 A925 syscall DragWindow 00001D68 206E 000C movea.l A0, [A6 + 0xC] 00001D6C 4868 0010 pea.l [A0 + 0x10] 00001D70 A928 syscall InvalRect 00001D72 2F2E FFFC move.l -[A7], [A6 - 0x4] 00001D76 A873 syscall SetPort 00001D78 4E5E unlink A6 00001D7A 4E75 rts 00001D7C 4841 swap.w D1 00001D7E 4E44 trap 4 00001D80 4C45 4452 movem.l D1,D4,D6,A2,A6, D5 fn00001D84: 00001D84 4E56 FFF0 link A6, -0x0010 00001D88 486E FFF0 pea.l [A6 - 0x10] 00001D8C A874 syscall GetPort 00001D8E 2F2E 000C move.l -[A7], [A6 + 0xC] 00001D92 A873 syscall SetPort 00001D94 486E FFF8 pea.l [A6 - 0x8] 00001D98 3F3C 0028 move.w -[A7], 0x28 /* '(' */ 00001D9C 3F3C 0028 move.w -[A7], 0x28 /* '(' */ 00001DA0 3F3C 0200 move.w -[A7], 0x200 00001DA4 3F3C 012C move.w -[A7], 0x12C 00001DA8 A8A7 syscall SetRect 00001DAA 598F subq.l A7, 4 00001DAC 2F2E 000C move.l -[A7], [A6 + 0xC] 00001DB0 206E 0008 movea.l A0, [A6 + 0x8] 00001DB4 2F28 000A move.l -[A7], [A0 + 0xA] 00001DB8 486E FFF8 pea.l [A6 - 0x8] 00001DBC A92B syscall GrowWindow 00001DBE 201F move.l D0, [A7]+ 00001DC0 2D40 FFF4 move.l [A6 - 0xC], D0 00001DC4 4AAE FFF4 tst.l [A6 - 0xC] 00001DC8 6736 beq +0x38 /* 00001E00 */ 00001DCA 203C 0000 FFFF move.l D0, 0xFFFF 00001DD0 C0AE FFF4 and.l D0, [A6 - 0xC] 00001DD4 222E FFF4 move.l D1, [A6 - 0xC] 00001DD8 7410 moveq.l D2, 0x10 00001DDA E4A1 asr D1, D2 00001DDC 2F2E 000C move.l -[A7], [A6 + 0xC] 00001DE0 3F00 move.w -[A7], D0 00001DE2 3F01 move.w -[A7], D1 00001DE4 4267 clr.w -[A7] 00001DE6 A91D syscall SizeWindow 00001DE8 206E 000C movea.l A0, [A6 + 0xC] 00001DEC 4868 0010 pea.l [A0 + 0x10] 00001DF0 486D FD14 pea.l [A5 - 0x2EC] 00001DF4 A8A5 syscall FillRect 00001DF6 206E 000C movea.l A0, [A6 + 0xC] 00001DFA 4868 0010 pea.l [A0 + 0x10] 00001DFE A928 syscall InvalRect label00001E00: 00001E00 2F2E FFF0 move.l -[A7], [A6 - 0x10] 00001E04 A873 syscall SetPort 00001E06 4E5E unlink A6 00001E08 4E75 rts 00001E0A 4841 swap.w D1 00001E0C 4E44 trap 4 00001E0E 4C45 4752 movem.l D1,D4,D6,A0,A1,A2,A6, D5 fn00001E12: 00001E12 4E56 0000 link A6, 0 00001E16 558F subq.l A7, 2 00001E18 2F2E 000C move.l -[A7], [A6 + 0xC] 00001E1C 206E 0008 movea.l A0, [A6 + 0x8] 00001E20 2F28 000A move.l -[A7], [A0 + 0xA] 00001E24 A91E syscall TrackGoAway 00001E26 101F move.b D0, [A7]+ 00001E28 4A00 tst.b D0 00001E2A 670A beq +0xC /* 00001E36 */ 00001E2C 2F2E 000C move.l -[A7], [A6 + 0xC] 00001E30 4EBA 0072 jsr [PC + 0x72 /* 00001EA4 */] 00001E34 588F addq.l A7, 4 label00001E36: 00001E36 4E5E unlink A6 00001E38 4E75 rts 00001E3A 4841 swap.w D1 00001E3C 4E44 trap 4 00001E3E 4C45 434C movem.l D2,D3,D6,A0,A1,A6, D5 fn00001E42: 00001E42 4E56 FFFC link A6, -0x0004 00001E46 486E FFFC pea.l [A6 - 0x4] 00001E4A A874 syscall GetPort 00001E4C 2F2E 000C move.l -[A7], [A6 + 0xC] 00001E50 A873 syscall SetPort 00001E52 558F subq.l A7, 2 00001E54 2F2E 000C move.l -[A7], [A6 + 0xC] 00001E58 206E 0008 movea.l A0, [A6 + 0x8] 00001E5C 2F28 000A move.l -[A7], [A0 + 0xA] 00001E60 3F2E 0010 move.w -[A7], [A6 + 0x10] 00001E64 A83B syscall TrackBox 00001E66 101F move.b D0, [A7]+ 00001E68 4A00 tst.b D0 00001E6A 6726 beq +0x28 /* 00001E92 */ 00001E6C 2F2E 000C move.l -[A7], [A6 + 0xC] 00001E70 3F2E 0010 move.w -[A7], [A6 + 0x10] 00001E74 1F3C 0001 move.b -[A7], 0x1 00001E78 A83A syscall ZoomWindow 00001E7A 206E 000C movea.l A0, [A6 + 0xC] 00001E7E 4868 0010 pea.l [A0 + 0x10] 00001E82 486D FD14 pea.l [A5 - 0x2EC] 00001E86 A8A5 syscall FillRect 00001E88 206E 000C movea.l A0, [A6 + 0xC] 00001E8C 4868 0010 pea.l [A0 + 0x10] 00001E90 A928 syscall InvalRect label00001E92: 00001E92 2F2E FFFC move.l -[A7], [A6 - 0x4] 00001E96 A873 syscall SetPort 00001E98 4E5E unlink A6 00001E9A 4E75 rts 00001E9C 4841 swap.w D1 00001E9E 4E44 trap 4 00001EA0 4C45 5A4F movem.l D0,D1,D2,D3,D6,A1,A3,A4,A6, D5 fn00001EA4: 00001EA4 4E56 FFFC link A6, -0x0004 00001EA8 4AAE 0008 tst.l [A6 + 0x8] 00001EAC 6700 0026 beq +0x28 /* 00001ED4 */ 00001EB0 598F subq.l A7, 4 00001EB2 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001EB6 A917 syscall GetWRefCon 00001EB8 201F move.l D0, [A7]+ 00001EBA 2D40 FFFC move.l [A6 - 0x4], D0 00001EBE 202E FFFC move.l D0, [A6 - 0x4] 00001EC2 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 00001EC6 0001 0008 ori.b D1, 0x8 00001ECA 0000 0064 ori.b D0, 0x64 /* 'd' */ 00001ECE 0006 4EBA ori.b D6, 0xBA 00001ED2 2F66 4E5E move.l [A7 + 0x4E5E], -[A6] // begin alternate branch 00001ED4-00001ED6 label00001ED4: 00001ED4 4E5E unlink A6 // end alternate branch 00001ED4-00001ED6 label00001ED4: // (misaligned) 00001ED6 4E75 rts 00001ED8 4841 swap.w D1 00001EDA 4E44 trap 4 00001EDC 4C45 434C movem.l D2,D3,D6,A0,A1,A6, D5 fn00001EE0: 00001EE0 4E56 FFFA link A6, -0x0006 00001EE4 558F subq.l A7, 2 00001EE6 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001EEA 206E 000C movea.l A0, [A6 + 0xC] 00001EEE 2F10 move.l -[A7], [A0] 00001EF0 42A7 clr.l -[A7] 00001EF2 A968 syscall TrackControl 00001EF4 301F move.w D0, [A7]+ 00001EF6 3D40 FFFE move.w [A6 - 0x2], D0 00001EFA 0C6E 000A FFFE cmpi.w [A6 - 0x2], 0xA /* '\n' */ 00001F00 6600 001C bne +0x1E /* 00001F1E */ 00001F04 598F subq.l A7, 4 00001F06 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001F0A A95A syscall GetControlReference/GetCRefCon 00001F0C 201F move.l D0, [A7]+ 00001F0E 2D40 FFFA move.l [A6 - 0x6], D0 00001F12 202E FFFA move.l D0, [A6 - 0x6] 00001F16 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 00001F1A 0000 0002 ori.b D0, 0x2 label00001F1E: 00001F1E 4E5E unlink A6 00001F20 4E75 rts 00001F22 4841 swap.w D1 00001F24 4E44 trap 4 00001F26 4C45 4143 movem.l D0,D1,D6,A0,A6, D5 fn00001F2A: 00001F2A 4E56 FFFA link A6, -0x0006 00001F2E 558F subq.l A7, 2 00001F30 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001F34 206E 000C movea.l A0, [A6 + 0xC] 00001F38 2F10 move.l -[A7], [A0] 00001F3A 42A7 clr.l -[A7] 00001F3C A968 syscall TrackControl 00001F3E 301F move.w D0, [A7]+ 00001F40 3D40 FFFE move.w [A6 - 0x2], D0 00001F44 0C6E 000B FFFE cmpi.w [A6 - 0x2], 0xB 00001F4A 6600 001C bne +0x1E /* 00001F68 */ 00001F4E 598F subq.l A7, 4 00001F50 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001F54 A95A syscall GetControlReference/GetCRefCon 00001F56 201F move.l D0, [A7]+ 00001F58 2D40 FFFA move.l [A6 - 0x6], D0 00001F5C 202E FFFA move.l D0, [A6 - 0x6] 00001F60 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 00001F64 0000 0002 ori.b D0, 0x2 label00001F68: 00001F68 4E5E unlink A6 00001F6A 4E75 rts 00001F6C 4841 swap.w D1 00001F6E 4E44 trap 4 00001F70 4C45 5241 movem.l D0,D6,A1,A4,A6, D5 fn00001F74: 00001F74 4E56 FFFA link A6, -0x0006 00001F78 558F subq.l A7, 2 00001F7A 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001F7E 206E 000C movea.l A0, [A6 + 0xC] 00001F82 2F10 move.l -[A7], [A0] 00001F84 42A7 clr.l -[A7] 00001F86 A968 syscall TrackControl 00001F88 301F move.w D0, [A7]+ 00001F8A 3D40 FFFE move.w [A6 - 0x2], D0 00001F8E 0C6E 0081 FFFE cmpi.w [A6 - 0x2], 0x81 00001F94 6600 0038 bne +0x3A /* 00001FCE */ 00001F98 598F subq.l A7, 4 00001F9A 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001F9E A95A syscall GetControlReference/GetCRefCon 00001FA0 201F move.l D0, [A7]+ 00001FA2 2D40 FFFA move.l [A6 - 0x6], D0 00001FA6 202E FFFA move.l D0, [A6 - 0x6] 00001FAA 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 00001FAE 0001 0008 ori.b D1, 0x8 00001FB2 0000 2710 ori.b D0, 0x10 00001FB6 0018 558F ori.b [A0]+, 0x8F 00001FBA 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001FBE A960 syscall GetControlValue/GetCtlValue 00001FC0 301F move.w D0, [A7]+ 00001FC2 3F3C 0001 move.w -[A7], 0x1 00001FC6 3F00 move.w -[A7], D0 00001FC8 4EBA 23DE jsr [PC + 0x23DE /* 000043A8 */] 00001FCC 588F addq.l A7, 4 label00001FCE: 00001FCE 4E5E unlink A6 00001FD0 4E75 rts 00001FD2 4841 swap.w D1 00001FD4 4E44 trap 4 00001FD6 4C45 5448 movem.l D3,D6,A2,A4,A6, D5 fn00001FDA: 00001FDA 4E56 FFFA link A6, -0x0006 00001FDE 558F subq.l A7, 2 00001FE0 2F2E 0008 move.l -[A7], [A6 + 0x8] 00001FE4 206E 000C movea.l A0, [A6 + 0xC] 00001FE8 2F10 move.l -[A7], [A0] 00001FEA 486D 009A pea.l [A5 + 0x9A /* export_15 */] 00001FEE A968 syscall TrackControl 00001FF0 301F move.w D0, [A7]+ 00001FF2 3D40 FFFE move.w [A6 - 0x2], D0 00001FF6 3F3C 0006 move.w -[A7], 0x6 00001FFA 4267 clr.w -[A7] 00001FFC 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */] 00002000 4E5E unlink A6 00002002 4E75 rts 00002004 4841 swap.w D1 00002006 4E44 trap 4 00002008 4C45 5343 movem.l D0,D1,D6,A0,A1,A4,A6, D5 fn0000200C: 0000200C 4E56 0000 link A6, 0 00002010 3B6E 0008 FB4A move.w [A5 - 0x4B6], [A6 + 0x8] 00002016 4E5E unlink A6 00002018 4E75 rts 0000201A 5345 subq.w D5, 1 0000201C 5450 addq.w [A0], 2 0000201E 4147 chk.w D0, D7 00002020 4553 chk.w D2, [A3] 00002022 4E56 0000 link A6, 0 00002026 302E 0008 move.w D0, [A6 + 0x8] 0000202A 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 0000202E 0000 0002 ori.b D0, 0x2 00002032 7000 moveq.l D0, 0x00 00002034 4E5E unlink A6 00002036 4E75 rts 00002038 4745 chk.w D3, D5 0000203A 5450 addq.w [A0], 2 0000203C 4147 chk.w D0, D7 0000203E 4553 chk.w D2, [A3] export_15: 00002040 4E56 FFFC link A6, -0x0004 00002044 426E FFFE clr.w [A6 - 0x2] 00002048 302E 0008 move.w D0, [A6 + 0x8] 0000204C 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 00002050 0005 0038 ori.b D5, 0x38 /* '8' */ 00002054 0000 0012 ori.b D0, 0x12 00002058 0014 0016 ori.b [A4], 0x16 0000205C 0015 001A ori.b [A5], 0x1A 00002060 0016 0022 ori.b [A6], 0x22 /* '\"' */ 00002064 0017 0024 ori.b [A7], 0x24 /* '$' */ 00002068 70FF moveq.l D0, 0xFFFFFFFF 0000206A 3D40 FFFE move.w [A6 - 0x2], D0 0000206E 601A bra +0x1C /* 0000208A */ 00002070 7001 moveq.l D0, 0x01 00002072 3D40 FFFE move.w [A6 - 0x2], D0 00002076 6012 bra +0x14 /* 0000208A */ 00002078 302D FB4A move.w D0, [A5 - 0x4B6] 0000207C 4440 neg.w D0 0000207E 3D40 FFFE move.w [A6 - 0x2], D0 00002082 6006 bra +0x8 /* 0000208A */ 00002084 3D6D FB4A FFFE move.w [A6 - 0x2], [A5 - 0x4B6] label0000208A: 0000208A 4A6E FFFE tst.w [A6 - 0x2] 0000208E 6700 004E beq +0x50 /* 000020DE */ 00002092 558F subq.l A7, 2 00002094 2F2E 000A move.l -[A7], [A6 + 0xA] 00002098 A960 syscall GetControlValue/GetCtlValue 0000209A 301F move.w D0, [A7]+ 0000209C 3D40 FFFC move.w [A6 - 0x4], D0 000020A0 302E FFFC move.w D0, [A6 - 0x4] 000020A4 D06E FFFE add.w D0, [A6 - 0x2] 000020A8 2F2E 000A move.l -[A7], [A6 + 0xA] 000020AC 3F00 move.w -[A7], D0 000020AE A963 syscall SetControlValue/SetCtlValue 000020B0 598F subq.l A7, 4 000020B2 2F2E 000A move.l -[A7], [A6 + 0xA] 000020B6 A95A syscall GetControlReference/GetCRefCon 000020B8 201F move.l D0, [A7]+ 000020BA 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 000020BE 0001 0008 ori.b D1, 0x8 000020C2 0000 2710 ori.b D0, 0x10 000020C6 0018 558F ori.b [A0]+, 0x8F 000020CA 2F2E 000A move.l -[A7], [A6 + 0xA] 000020CE A960 syscall GetControlValue/GetCtlValue 000020D0 301F move.w D0, [A7]+ 000020D2 3F3C 0001 move.w -[A7], 0x1 000020D6 3F00 move.w -[A7], D0 000020D8 4EBA 22CE jsr [PC + 0x22CE /* 000043A8 */] 000020DC 588F addq.l A7, 4 label000020DE: 000020DE 4E5E unlink A6 000020E0 205F movea.l A0, [A7]+ 000020E2 4FEF 0006 lea.l A7, [A7 + 0x6] 000020E6 4ED0 jmp [A0] 000020E8 4841 swap.w D1 000020EA 4E44 trap 4 000020EC 4C45 5343 movem.l D0,D1,D6,A0,A1,A4,A6, D5 000020F0 4E56 FFEC link A6, -0x0014 000020F4 486E FFFC pea.l [A6 - 0x4] 000020F8 3F3C 0055 move.w -[A7], 0x55 /* 'U' */ 000020FC 3F3C 0064 move.w -[A7], 0x64 /* 'd' */ 00002100 A880 syscall SetPt 00002102 2D6E 0008 FFEC move.l [A6 - 0x14], [A6 + 0x8] 00002108 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000210C 4879 0000 01A0 push.l 0x1A0 00002112 42A7 clr.l -[A7] 00002114 3F3C 0001 move.w -[A7], 0x1 00002118 486E FFEC pea.l [A6 - 0x14] 0000211C 42A7 clr.l -[A7] 0000211E 486D FB4C pea.l [A5 - 0x4B4] 00002122 4EAD 0182 jsr [A5 + 0x182 /* export_44 */] 00002126 4A2D FB4C tst.b [A5 - 0x4B4] 0000212A 6716 beq +0x18 /* 00002142 */ 0000212C 558F subq.l A7, 2 0000212E 42A7 clr.l -[A7] 00002130 3F2D FB52 move.w -[A7], [A5 - 0x4AE] 00002134 4EAD 015A jsr [A5 + 0x15A /* export_39 */] 00002138 301F move.w D0, [A7]+ 0000213A 41ED FB56 lea.l A0, [A5 - 0x4AA] 0000213E 2008 move.l D0, A0 00002140 6002 bra +0x4 /* 00002144 */ label00002142: 00002142 7000 moveq.l D0, 0x00 label00002144: 00002144 4E5E unlink A6 00002146 4E75 rts 00002148 4745 chk.w D3, D5 0000214A 5446 addq.w D6, 2 0000214C 524F addq.w A7, 1 0000214E 4D53 chk.w D6, [A3] 00002150 4E56 FFFC link A6, -0x0004 00002154 486E FFFC pea.l [A6 - 0x4] 00002158 3F3C 0055 move.w -[A7], 0x55 /* 'U' */ 0000215C 3F3C 0064 move.w -[A7], 0x64 /* 'd' */ 00002160 A880 syscall SetPt 00002162 2F2E FFFC move.l -[A7], [A6 - 0x4] 00002166 4879 0000 01A2 push.l 0x1A2 0000216C 4879 0000 01B2 push.l 0x1B2 00002172 42A7 clr.l -[A7] 00002174 486D FB96 pea.l [A5 - 0x46A] 00002178 4EAD 018A jsr [A5 + 0x18A /* export_45 */] 0000217C 4A2D FB96 tst.b [A5 - 0x46A] 00002180 6716 beq +0x18 /* 00002198 */ 00002182 558F subq.l A7, 2 00002184 42A7 clr.l -[A7] 00002186 3F2D FB9C move.w -[A7], [A5 - 0x464] 0000218A 4EAD 015A jsr [A5 + 0x15A /* export_39 */] 0000218E 301F move.w D0, [A7]+ 00002190 41ED FBA0 lea.l A0, [A5 - 0x460] 00002194 2008 move.l D0, A0 00002196 6002 bra +0x4 /* 0000219A */ label00002198: 00002198 7000 moveq.l D0, 0x00 label0000219A: 0000219A 4E5E unlink A6 0000219C 4E75 rts 0000219E 5055 addq.w [A5], 8 000021A0 5454 addq.w [A4], 2 000021A2 4F53 chk.w D7, [A3] 000021A4 5444 addq.w D4, 2 fn000021A6: 000021A6 4E56 0000 link A6, 0 000021AA 102E 0009 move.b D0, [A6 + 0x9] 000021AE 4880 ext.w D0 000021B0 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 000021B4 0007 001E ori.b D7, 0x1E 000021B8 001B 001A ori.b [A3]+, 0x1A 000021BC 003F 0016 ori.b <>, 0x16 000021C0 002F 0012 007E ori.b [A7 + 0x7E], 0x12 000021C6 000E 0060 ori.b A6, 0x60 /* '`' */ 000021CA 0010 0008 ori.b [A0], 0x8 000021CE 000C 001C ori.b A4, 0x1C 000021D2 000C 4EBA ori.b A4, 0xBA 000021D6 14A6 move.b [A2], -[A6] 000021D8 6004 bra +0x6 /* 000021DE */ 000021DA 4EBA 1808 jsr [PC + 0x1808 /* 000039E4 */] label000021DE: 000021DE 4E5E unlink A6 000021E0 4E75 rts 000021E2 4841 swap.w D1 000021E4 4E44 trap 4 000021E6 4C45 4B45 movem.l D0,D2,D6,A0,A1,A3,A6, D5 000021EA 4E56 0000 link A6, 0 000021EE 4E5E unlink A6 000021F0 4E75 rts 000021F2 4841 swap.w D1 000021F4 4E44 trap 4 000021F6 4C45 4B45 movem.l D0,D2,D6,A0,A1,A3,A6, D5 fn000021FA: 000021FA 4E56 FFF8 link A6, -0x0008 000021FE 206E 0008 movea.l A0, [A6 + 0x8] 00002202 2D68 0002 FFFC move.l [A6 - 0x4], [A0 + 0x2] 00002208 598F subq.l A7, 4 0000220A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000220E A917 syscall GetWRefCon 00002210 201F move.l D0, [A7]+ 00002212 2D40 FFF8 move.l [A6 - 0x8], D0 00002216 202E FFF8 move.l D0, [A6 - 0x8] 0000221A 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 0000221E 0003 0014 ori.b D3, 0x14 00002222 0000 0001 ori.b D0, 0x1 00002226 0020 0000 ori.b -[A0], 0x0 0000222A 0002 0020 ori.b D2, 0x20 /* ' ' */ 0000222E 0000 0064 ori.b D0, 0x64 /* 'd' */ 00002232 001E 2F2D ori.b [A6]+, 0x2D /* '-' */ 00002236 FB3C .extension 0xB3C <> // unimplemented 00002238 A922 syscall BeginUpdate 0000223A 4EBA 0B98 jsr [PC + 0xB98 /* 00002DD4 */] 0000223E 2F2D FB3C move.l -[A7], [A5 - 0x4C4] 00002242 A923 syscall EndUpdate 00002244 600A bra +0xC /* 00002250 */ 00002246 4EBA F3FA jsr [PC - 0xC06 /* 00001642 */] 0000224A 6004 bra +0x6 /* 00002250 */ 0000224C 4EBA 2BF2 jsr [PC + 0x2BF2 /* 00004E40 */] label00002250: 00002250 4E5E unlink A6 00002252 4E75 rts 00002254 4841 swap.w D1 00002256 4E44 trap 4 00002258 4C45 5550 movem.l D4,D6,A0,A2,A4,A6, D5 0000225C 4E56 FFFA link A6, -0x0006 00002260 422E FFFF clr.b [A6 - 0x1] 00002264 602E bra +0x30 /* 00002294 */ label00002266: 00002266 486E FFFA pea.l [A6 - 0x6] 0000226A A972 syscall GetMouse 0000226C 558F subq.l A7, 2 0000226E 2F2E FFFA move.l -[A7], [A6 - 0x6] 00002272 2F2E 0008 move.l -[A7], [A6 + 0x8] 00002276 A8AD syscall PtInRect 00002278 101F move.b D0, [A7]+ 0000227A B02E FFFF cmp.b D0, [A6 - 0x1] 0000227E 6714 beq +0x16 /* 00002294 */ 00002280 2F2E 0008 move.l -[A7], [A6 + 0x8] 00002284 A8A4 syscall InvertRect 00002286 4A2E FFFF tst.b [A6 - 0x1] 0000228A 57C0 seq D0 0000228C 4400 neg.b D0 0000228E 4880 ext.w D0 00002290 1D40 FFFF move.b [A6 - 0x1], D0 label00002294: 00002294 558F subq.l A7, 2 00002296 A977 syscall WaitMouseUp 00002298 101F move.b D0, [A7]+ 0000229A 4A00 tst.b D0 0000229C 66C8 bne -0x36 /* 00002266 */ 0000229E 4A2E FFFF tst.b [A6 - 0x1] 000022A2 6706 beq +0x8 /* 000022AA */ 000022A4 2F2E 0008 move.l -[A7], [A6 + 0x8] 000022A8 A8A4 syscall InvertRect label000022AA: 000022AA 102E FFFF move.b D0, [A6 - 0x1] 000022AE 4E5E unlink A6 000022B0 4E75 rts 000022B2 4641 not.w D1 000022B4 4B45 chk.w D5, D5 000022B6 5452 addq.w [A2], 2 000022B8 4143 chk.w D0, D3 000022BA 4E56 FFFC link A6, -0x0004 000022BE 598F subq.l A7, 4 000022C0 A924 syscall FrontWindow 000022C2 205F movea.l A0, [A7]+ 000022C4 598F subq.l A7, 4 000022C6 4850 pea.l [A0] 000022C8 A917 syscall GetWRefCon 000022CA 201F move.l D0, [A7]+ 000022CC 2D40 FFFC move.l [A6 - 0x4], D0 000022D0 202E FFFC move.l D0, [A6 - 0x4] 000022D4 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 000022D8 0000 0002 ori.b D0, 0x2 000022DC 558F subq.l A7, 2 000022DE 302E 0008 move.w D0, [A6 + 0x8] 000022E2 5340 subq.w D0, 1 000022E4 3F00 move.w -[A7], D0 000022E6 A9C2 syscall SysEdit 000022E8 101F move.b D0, [A7]+ 000022EA 4E5E unlink A6 000022EC 4E75 rts 000022EE 4841 swap.w D1 000022F0 4E44 trap 4 000022F2 4C45 4544 movem.l D2,D6,A0,A2,A6, D5 fn000022F6: 000022F6 4E56 FFEC link A6, -0x0014 000022FA 206E 0008 movea.l A0, [A6 + 0x8] 000022FE 226E 0008 movea.l A1, [A6 + 0x8] 00002302 3029 0006 move.w D0, [A1 + 0x6] 00002306 9068 0002 sub.w D0, [A0 + 0x2] 0000230A 3D40 FFFE move.w [A6 - 0x2], D0 0000230E 206E 0008 movea.l A0, [A6 + 0x8] 00002312 226E 0008 movea.l A1, [A6 + 0x8] 00002316 3029 0004 move.w D0, [A1 + 0x4] 0000231A 9050 sub.w D0, [A0] 0000231C 3D40 FFFC move.w [A6 - 0x4], D0 00002320 486E FFEC pea.l [A6 - 0x14] 00002324 4267 clr.w -[A7] 00002326 4267 clr.w -[A7] 00002328 3F2E FFFE move.w -[A7], [A6 - 0x2] 0000232C 3F2E FFFC move.w -[A7], [A6 - 0x4] 00002330 A8A7 syscall SetRect 00002332 306E FFFE movea.w A0, [A6 - 0x2] 00002336 2008 move.l D0, A0 00002338 81FC 0010 divs.w D0, 0x10 0000233C 4840 swap.w D0 0000233E 4A40 tst.w D0 00002340 6718 beq +0x1A /* 0000235A */ 00002342 306E FFFE movea.w A0, [A6 - 0x2] 00002346 2008 move.l D0, A0 00002348 81FC 0010 divs.w D0, 0x10 0000234C 4840 swap.w D0 0000234E 7210 moveq.l D1, 0x10 00002350 9240 sub.w D1, D0 00002352 D26E FFFE add.w D1, [A6 - 0x2] 00002356 3D41 FFFE move.w [A6 - 0x2], D1 label0000235A: 0000235A 306E FFFE movea.w A0, [A6 - 0x2] 0000235E 2008 move.l D0, A0 00002360 81FC 0008 divs.w D0, 0x8 00002364 3D40 FFFE move.w [A6 - 0x2], D0 00002368 302E FFFE move.w D0, [A6 - 0x2] 0000236C C1EE FFFC muls.w D0, [A6 - 0x4] 00002370 598F subq.l A7, 4 00002372 48C0 ext.l D0 00002374 0680 0000 000E addi.l D0, 0xE 0000237A 2F00 move.l -[A7], D0 0000237C 4EAD 0102 jsr [A5 + 0x102 /* export_28 */] 00002380 205F movea.l A0, [A7]+ 00002382 2D48 FFF8 move.l [A6 - 0x8], A0 00002386 4AAE FFF8 tst.l [A6 - 0x8] 0000238A 6604 bne +0x6 /* 00002390 */ 0000238C 7000 moveq.l D0, 0x00 0000238E 6030 bra +0x32 /* 000023C0 */ label00002390: 00002390 2D6E FFF8 FFF4 move.l [A6 - 0xC], [A6 - 0x8] 00002396 206E FFF4 movea.l A0, [A6 - 0xC] 0000239A 316E FFFE 0004 move.w [A0 + 0x4], [A6 - 0x2] 000023A0 206E FFF4 movea.l A0, [A6 - 0xC] 000023A4 5C88 addq.l A0, 6 000023A6 43EE FFEC lea.l A1, [A6 - 0x14] 000023AA 20D9 move.l [A0]+, [A1]+ 000023AC 20D9 move.l [A0]+, [A1]+ 000023AE 206E FFF8 movea.l A0, [A6 - 0x8] 000023B2 41E8 000E lea.l A0, [A0 + 0xE] 000023B6 226E FFF4 movea.l A1, [A6 - 0xC] 000023BA 2288 move.l [A1], A0 000023BC 202E FFF4 move.l D0, [A6 - 0xC] label000023C0: 000023C0 4E5E unlink A6 000023C2 4E75 rts 000023C4 4352 chk.w D1, [A2] 000023C6 4541 chk.w D2, D1 000023C8 5445 addq.w D5, 2 000023CA 4249 clr.w A1 fn000023CC: 000023CC 4E56 FFEC link A6, -0x0014 000023D0 486E FFEC pea.l [A6 - 0x14] 000023D4 4267 clr.w -[A7] 000023D6 4267 clr.w -[A7] 000023D8 3F2E 0008 move.w -[A7], [A6 + 0x8] 000023DC 3F2E 000A move.w -[A7], [A6 + 0xA] 000023E0 A8A7 syscall SetRect 000023E2 486E FFF8 pea.l [A6 - 0x8] 000023E6 A874 syscall GetPort 000023E8 598F subq.l A7, 4 000023EA 4878 006C push.l 0x6C /* 'l' */ 000023EE 4EAD 0102 jsr [A5 + 0x102 /* export_28 */] 000023F2 205F movea.l A0, [A7]+ 000023F4 2D48 FFFC move.l [A6 - 0x4], A0 000023F8 4AAE FFFC tst.l [A6 - 0x4] 000023FC 6604 bne +0x6 /* 00002402 */ 000023FE 7000 moveq.l D0, 0x00 00002400 6046 bra +0x48 /* 00002448 */ label00002402: 00002402 486E FFEC pea.l [A6 - 0x14] 00002406 4EBA FEEE jsr [PC - 0x112 /* 000022F6 */] 0000240A 588F addq.l A7, 4 0000240C 2D40 FFF4 move.l [A6 - 0xC], D0 00002410 4AAE FFF4 tst.l [A6 - 0xC] 00002414 660C bne +0xE /* 00002422 */ 00002416 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000241A 4EAD 010A jsr [A5 + 0x10A /* export_29 */] 0000241E 7000 moveq.l D0, 0x00 00002420 6026 bra +0x28 /* 00002448 */ label00002422: 00002422 2F2E FFFC move.l -[A7], [A6 - 0x4] 00002426 A86F syscall OpenPort 00002428 2F2E FFF4 move.l -[A7], [A6 - 0xC] 0000242C A875 syscall SetPBits/SetPortBits 0000242E 4267 clr.w -[A7] 00002430 4267 clr.w -[A7] 00002432 A878 syscall SetOrigin 00002434 3F2E 0008 move.w -[A7], [A6 + 0x8] 00002438 3F2E 000A move.w -[A7], [A6 + 0xA] 0000243C A876 syscall PortSize 0000243E 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00002442 A873 syscall SetPort 00002444 202E FFFC move.l D0, [A6 - 0x4] label00002448: 00002448 4E5E unlink A6 0000244A 4E75 rts 0000244C 4352 chk.w D1, [A2] 0000244E 4541 chk.w D2, D1 00002450 5445 addq.w D5, 2 00002452 4752 chk.w D3, [A2] 00002454 4E56 FFFC link A6, -0x0004 00002458 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000245C A87D syscall ClosePort 0000245E 206E 0008 movea.l A0, [A6 + 0x8] 00002462 2D68 0002 FFFC move.l [A6 - 0x4], [A0 + 0x2] 00002468 06AE FFFF FFF2 FFFC addi.l [A6 - 0x4], 0xFFFFFFF2 00002470 2F2E FFFC move.l -[A7], [A6 - 0x4] 00002474 4EAD 010A jsr [A5 + 0x10A /* export_29 */] 00002478 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000247C 4EAD 010A jsr [A5 + 0x10A /* export_29 */] 00002480 4E5E unlink A6 00002482 4E75 rts 00002484 4445 neg.w D5 00002486 5354 subq.w [A4], 1 00002488 524F addq.w A7, 1 0000248A 5947 subq.w D7, 4 fn0000248C: 0000248C 4E56 FFFC link A6, -0x0004 00002490 598F subq.l A7, 4 00002492 3F2E 0008 move.w -[A7], [A6 + 0x8] 00002496 A9B9 syscall GetCursor 00002498 205F movea.l A0, [A7]+ 0000249A 2D48 FFFC move.l [A6 - 0x4], A0 0000249E 4AAE FFFC tst.l [A6 - 0x4] 000024A2 6718 beq +0x1A /* 000024BC */ 000024A4 2F2E FFFC move.l -[A7], [A6 - 0x4] 000024A8 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 000024AC 206E FFFC movea.l A0, [A6 - 0x4] 000024B0 2F10 move.l -[A7], [A0] 000024B2 A851 syscall SetCursor 000024B4 2F2E FFFC move.l -[A7], [A6 - 0x4] 000024B8 4EAD 0132 jsr [A5 + 0x132 /* export_34 */] label000024BC: 000024BC 4E5E unlink A6 000024BE 4E75 rts 000024C0 4E45 trap 5 000024C2 5743 subq.w D3, 3 000024C4 5552 subq.w [A2], 2 000024C6 534F subq.w A7, 1 000024C8 4E56 FEEE link A6, -0x0112 000024CC 558F subq.l A7, 2 000024CE 486E FEF0 pea.l [A6 - 0x110] 000024D2 486E FEEE pea.l [A6 - 0x112] 000024D6 4EAD 0152 jsr [A5 + 0x152 /* export_38 */] 000024DA 301F move.w D0, [A7]+ 000024DC 2F2E 0008 move.l -[A7], [A6 + 0x8] 000024E0 486E FEF0 pea.l [A6 - 0x110] 000024E4 4EAD 00EA jsr [A5 + 0xEA /* export_25 */] 000024E8 508F addq.l A7, 8 000024EA 4A2E 000D tst.b [A6 + 0xD] 000024EE 660A bne +0xC /* 000024FA */ 000024F0 486E FEF0 pea.l [A6 - 0x110] 000024F4 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 000024F8 588F addq.l A7, 4 label000024FA: 000024FA 558F subq.l A7, 2 000024FC 486E FEF0 pea.l [A6 - 0x110] 00002500 3F2E FEEE move.w -[A7], [A6 - 0x112] 00002504 486E FFF0 pea.l [A6 - 0x10] 00002508 4EAD 014A jsr [A5 + 0x14A /* export_37 */] 0000250C 301F move.w D0, [A7]+ 0000250E 2D6E 000E FFF0 move.l [A6 - 0x10], [A6 + 0xE] 00002514 2D6E 0012 FFF4 move.l [A6 - 0xC], [A6 + 0x12] 0000251A 558F subq.l A7, 2 0000251C 486E FEF0 pea.l [A6 - 0x110] 00002520 3F2E FEEE move.w -[A7], [A6 - 0x112] 00002524 486E FFF0 pea.l [A6 - 0x10] 00002528 4EAD 0162 jsr [A5 + 0x162 /* export_40 */] 0000252C 301F move.w D0, [A7]+ 0000252E 4E5E unlink A6 00002530 4E75 rts 00002532 5345 subq.w D5, 1 00002534 5446 addq.w D6, 2 00002536 494C chk.w D4, A4 00002538 4554 chk.w D2, [A4] fn0000253A: 0000253A 4E56 FE00 link A6, -0x0200 0000253E 2F2E 0018 move.l -[A7], [A6 + 0x18] 00002542 2F2E 0014 move.l -[A7], [A6 + 0x14] 00002546 2F2E 0010 move.l -[A7], [A6 + 0x10] 0000254A 2F2E 000C move.l -[A7], [A6 + 0xC] 0000254E 2F2E 0008 move.l -[A7], [A6 + 0x8] 00002552 486E FE00 pea.l [A6 - 0x200] 00002556 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 0000255A 4FEF 0018 lea.l A7, [A7 + 0x18] 0000255E 486E FE00 pea.l [A6 - 0x200] 00002562 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00002566 588F addq.l A7, 4 00002568 486E FE00 pea.l [A6 - 0x200] 0000256C 4879 0000 01BC push.l 0x1BC 00002572 4879 0000 01BE push.l 0x1BE 00002578 4879 0000 01C0 push.l 0x1C0 0000257E A98B syscall ParamText 00002580 3F3C 0081 move.w -[A7], 0x81 00002584 4EBA DA7A jsr [PC - 0x2586 /* 00000000 */] 00002588 548F addq.l A7, 2 0000258A 4E5E unlink A6 0000258C 4E75 rts 0000258E 4E4F trap 15 00002590 4E46 trap 6 00002592 4154 chk.w D0, [A4] 00002594 414C chk.w D0, A4 fn00002596: 00002596 4E56 0000 link A6, 0 0000259A 2F2E 0018 move.l -[A7], [A6 + 0x18] 0000259E 2F2E 0014 move.l -[A7], [A6 + 0x14] 000025A2 2F2E 0010 move.l -[A7], [A6 + 0x10] 000025A6 2F2E 000C move.l -[A7], [A6 + 0xC] 000025AA 2F2E 0008 move.l -[A7], [A6 + 0x8] 000025AE 4EBA FF8A jsr [PC - 0x76 /* 0000253A */] 000025B2 4FEF 0014 lea.l A7, [A7 + 0x14] 000025B6 3F3C 0001 move.w -[A7], 0x1 000025BA 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */] 000025BE 548F addq.l A7, 2 000025C0 4E5E unlink A6 000025C2 4E75 rts 000025C4 4641 not.w D1 000025C6 5441 addq.w D1, 2 000025C8 4C20 2020 movem.w D2,A2, -[A0] fn000025CC: 000025CC 4E56 FE00 link A6, -0x0200 000025D0 2F2E 0018 move.l -[A7], [A6 + 0x18] 000025D4 2F2E 0014 move.l -[A7], [A6 + 0x14] 000025D8 2F2E 0010 move.l -[A7], [A6 + 0x10] 000025DC 2F2E 000C move.l -[A7], [A6 + 0xC] 000025E0 2F2E 0008 move.l -[A7], [A6 + 0x8] 000025E4 486E FE00 pea.l [A6 - 0x200] 000025E8 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 000025EC 4FEF 0018 lea.l A7, [A7 + 0x18] 000025F0 486E FE00 pea.l [A6 - 0x200] 000025F4 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 000025F8 588F addq.l A7, 4 000025FA 486E FE00 pea.l [A6 - 0x200] 000025FE 4879 0000 01C2 push.l 0x1C2 00002604 4879 0000 01C4 push.l 0x1C4 0000260A 4879 0000 01C6 push.l 0x1C6 00002610 A98B syscall ParamText 00002612 3F3C 0082 move.w -[A7], 0x82 00002616 4EBA D9E8 jsr [PC - 0x2618 /* 00000000 */] 0000261A 548F addq.l A7, 2 0000261C 0C40 0001 cmpi.w D0, 0x1 00002620 57C0 seq D0 00002622 4400 neg.b D0 00002624 4880 ext.w D0 00002626 4E5E unlink A6 00002628 4E75 rts 0000262A 4348 chk.w D1, A0 0000262C 4F49 chk.w D7, A1 0000262E 4345 chk.w D1, D5 00002630 2020 move.l D0, -[A0] 00002632 4E56 FFF4 link A6, -0x000C 00002636 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000263A A873 syscall SetPort 0000263C 598F subq.l A7, 4 0000263E 2F2E 000E move.l -[A7], [A6 + 0xE] 00002642 3F2E 000C move.w -[A7], [A6 + 0xC] 00002646 A9A0 syscall GetResource 00002648 205F movea.l A0, [A7]+ 0000264A 2D48 FFFC move.l [A6 - 0x4], A0 0000264E 4AAE FFFC tst.l [A6 - 0x4] 00002652 673E beq +0x40 /* 00002692 */ 00002654 206E FFFC movea.l A0, [A6 - 0x4] 00002658 2050 movea.l A0, [A0] 0000265A 43EE FFF4 lea.l A1, [A6 - 0xC] 0000265E 5488 addq.l A0, 2 00002660 22D8 move.l [A1]+, [A0]+ 00002662 22D8 move.l [A1]+, [A0]+ 00002664 302E 0012 move.w D0, [A6 + 0x12] 00002668 906E FFF6 sub.w D0, [A6 - 0xA] 0000266C 322E 0014 move.w D1, [A6 + 0x14] 00002670 926E FFF4 sub.w D1, [A6 - 0xC] 00002674 486E FFF4 pea.l [A6 - 0xC] 00002678 3F00 move.w -[A7], D0 0000267A 3F01 move.w -[A7], D1 0000267C A8A8 syscall OffsetRect 0000267E 2F2E FFFC move.l -[A7], [A6 - 0x4] 00002682 486E FFF4 pea.l [A6 - 0xC] 00002686 A8F6 syscall DrawPicture 00002688 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000268C A9A3 syscall ReleaseResource 0000268E 7001 moveq.l D0, 0x01 00002690 6002 bra +0x4 /* 00002694 */ label00002692: 00002692 7000 moveq.l D0, 0x00 label00002694: 00002694 4E5E unlink A6 00002696 4E75 rts 00002698 5049 addq.w A1, 8 0000269A 4354 chk.w D1, [A4] 0000269C 4154 chk.w D0, [A4] 0000269E 2020 move.l D0, -[A0] fn000026A0: 000026A0 4E56 FEFA link A6, -0x0106 000026A4 2F2E 0008 move.l -[A7], [A6 + 0x8] 000026A8 486E FFFE pea.l [A6 - 0x2] 000026AC 486E FFFA pea.l [A6 - 0x6] 000026B0 486E FEFA pea.l [A6 - 0x106] 000026B4 A9A8 syscall GetResInfo 000026B6 302E FFFE move.w D0, [A6 - 0x2] 000026BA 4E5E unlink A6 000026BC 4E75 rts 000026BE 5245 addq.w D5, 1 000026C0 534E subq.w A6, 1 000026C2 554D subq.w A5, 2 000026C4 4245 clr.w D5 fn000026C6: 000026C6 4E56 FFF2 link A6, -0x000E 000026CA 2F2E 0008 move.l -[A7], [A6 + 0x8] 000026CE A873 syscall SetPort 000026D0 598F subq.l A7, 4 000026D2 2F2E 0010 move.l -[A7], [A6 + 0x10] 000026D6 2F2E 000C move.l -[A7], [A6 + 0xC] 000026DA A9A1 syscall GetNamedResource 000026DC 205F movea.l A0, [A7]+ 000026DE 2D48 FFFC move.l [A6 - 0x4], A0 000026E2 4AAE FFFC tst.l [A6 - 0x4] 000026E6 674E beq +0x50 /* 00002736 */ 000026E8 2F2E FFFC move.l -[A7], [A6 - 0x4] 000026EC 4EBA FFB2 jsr [PC - 0x4E /* 000026A0 */] 000026F0 588F addq.l A7, 4 000026F2 3D40 FFF2 move.w [A6 - 0xE], D0 000026F6 206E FFFC movea.l A0, [A6 - 0x4] 000026FA 2050 movea.l A0, [A0] 000026FC 43EE FFF4 lea.l A1, [A6 - 0xC] 00002700 5488 addq.l A0, 2 00002702 22D8 move.l [A1]+, [A0]+ 00002704 22D8 move.l [A1]+, [A0]+ 00002706 302E 0014 move.w D0, [A6 + 0x14] 0000270A 906E FFF6 sub.w D0, [A6 - 0xA] 0000270E 322E 0016 move.w D1, [A6 + 0x16] 00002712 926E FFF4 sub.w D1, [A6 - 0xC] 00002716 486E FFF4 pea.l [A6 - 0xC] 0000271A 3F00 move.w -[A7], D0 0000271C 3F01 move.w -[A7], D1 0000271E A8A8 syscall OffsetRect 00002720 2F2E FFFC move.l -[A7], [A6 - 0x4] 00002724 486E FFF4 pea.l [A6 - 0xC] 00002728 A8F6 syscall DrawPicture 0000272A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000272E A9A3 syscall ReleaseResource 00002730 302E FFF2 move.w D0, [A6 - 0xE] 00002734 6002 bra +0x4 /* 00002738 */ label00002736: 00002736 7000 moveq.l D0, 0x00 label00002738: 00002738 4E5E unlink A6 0000273A 4E75 rts 0000273C 4E41 trap 1 0000273E 4D45 chk.w D6, D5 00002740 5049 addq.w A1, 8 00002742 4354 chk.w D1, [A4] fn00002744: 00002744 4E56 FFF4 link A6, -0x000C 00002748 598F subq.l A7, 4 0000274A 4879 5049 4354 push.l 0x50494354 /* 'PICT' */ 00002750 3F2E 0008 move.w -[A7], [A6 + 0x8] 00002754 A9A0 syscall GetResource 00002756 205F movea.l A0, [A7]+ 00002758 2D48 FFFC move.l [A6 - 0x4], A0 0000275C 4AAE FFFC tst.l [A6 - 0x4] 00002760 6744 beq +0x46 /* 000027A6 */ 00002762 206E FFFC movea.l A0, [A6 - 0x4] 00002766 2050 movea.l A0, [A0] 00002768 43EE FFF4 lea.l A1, [A6 - 0xC] 0000276C 5488 addq.l A0, 2 0000276E 22D8 move.l [A1]+, [A0]+ 00002770 22D8 move.l [A1]+, [A0]+ 00002772 302E FFF6 move.w D0, [A6 - 0xA] 00002776 4440 neg.w D0 00002778 322E FFF4 move.w D1, [A6 - 0xC] 0000277C 4441 neg.w D1 0000277E 486E FFF4 pea.l [A6 - 0xC] 00002782 3F00 move.w -[A7], D0 00002784 3F01 move.w -[A7], D1 00002786 A8A8 syscall OffsetRect 00002788 486E FFF4 pea.l [A6 - 0xC] 0000278C 2F2E 000A move.l -[A7], [A6 + 0xA] 00002790 486E FFF4 pea.l [A6 - 0xC] 00002794 4EBA F300 jsr [PC - 0xD00 /* 00001A96 */] 00002798 4FEF 000C lea.l A7, [A7 + 0xC] 0000279C 2F2E FFFC move.l -[A7], [A6 - 0x4] 000027A0 486E FFF4 pea.l [A6 - 0xC] 000027A4 A8F6 syscall DrawPicture label000027A6: 000027A6 4E5E unlink A6 000027A8 4E75 rts 000027AA 4345 chk.w D1, D5 000027AC 4E54 4552 link A4, -0xFFFFBAAE 000027B0 5049 addq.w A1, 8 fn000027B2: 000027B2 4E56 FFF2 link A6, -0x000E 000027B6 2F2E 0008 move.l -[A7], [A6 + 0x8] 000027BA A873 syscall SetPort 000027BC 598F subq.l A7, 4 000027BE 2F2E 0010 move.l -[A7], [A6 + 0x10] 000027C2 2F2E 000C move.l -[A7], [A6 + 0xC] 000027C6 A9A1 syscall GetNamedResource 000027C8 205F movea.l A0, [A7]+ 000027CA 2D48 FFFC move.l [A6 - 0x4], A0 000027CE 4AAE FFFC tst.l [A6 - 0x4] 000027D2 675E beq +0x60 /* 00002832 */ 000027D4 2F2E FFFC move.l -[A7], [A6 - 0x4] 000027D8 4EBA FEC6 jsr [PC - 0x13A /* 000026A0 */] 000027DC 588F addq.l A7, 4 000027DE 3D40 FFF2 move.w [A6 - 0xE], D0 000027E2 206E FFFC movea.l A0, [A6 - 0x4] 000027E6 2050 movea.l A0, [A0] 000027E8 43EE FFF4 lea.l A1, [A6 - 0xC] 000027EC 5488 addq.l A0, 2 000027EE 22D8 move.l [A1]+, [A0]+ 000027F0 22D8 move.l [A1]+, [A0]+ 000027F2 302E FFF6 move.w D0, [A6 - 0xA] 000027F6 4440 neg.w D0 000027F8 322E FFF4 move.w D1, [A6 - 0xC] 000027FC 4441 neg.w D1 000027FE 486E FFF4 pea.l [A6 - 0xC] 00002802 3F00 move.w -[A7], D0 00002804 3F01 move.w -[A7], D1 00002806 A8A8 syscall OffsetRect 00002808 486E FFF4 pea.l [A6 - 0xC] 0000280C 2F2E 0014 move.l -[A7], [A6 + 0x14] 00002810 486E FFF4 pea.l [A6 - 0xC] 00002814 4EBA F280 jsr [PC - 0xD80 /* 00001A96 */] 00002818 4FEF 000C lea.l A7, [A7 + 0xC] 0000281C 2F2E FFFC move.l -[A7], [A6 - 0x4] 00002820 486E FFF4 pea.l [A6 - 0xC] 00002824 A8F6 syscall DrawPicture 00002826 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000282A A9A3 syscall ReleaseResource 0000282C 302E FFF2 move.w D0, [A6 - 0xE] 00002830 6002 bra +0x4 /* 00002834 */ label00002832: 00002832 7000 moveq.l D0, 0x00 label00002834: 00002834 4E5E unlink A6 00002836 4E75 rts 00002838 4345 chk.w D1, D5 0000283A 4E54 4552 link A4, -0xFFFFBAAE 0000283E 4E41 trap 1 fn00002840: 00002840 4E56 0000 link A6, 0 00002844 6012 bra +0x14 /* 00002858 */ label00002846: 00002846 206E 000C movea.l A0, [A6 + 0xC] 0000284A 52AE 000C addq.l [A6 + 0xC], 1 0000284E 226E 0008 movea.l A1, [A6 + 0x8] 00002852 52AE 0008 addq.l [A6 + 0x8], 1 00002856 1091 move.b [A0], [A1] label00002858: 00002858 302E 0010 move.w D0, [A6 + 0x10] 0000285C 536E 0010 subq.w [A6 + 0x10], 1 00002860 4A40 tst.w D0 00002862 66E2 bne -0x1C /* 00002846 */ 00002864 4E5E unlink A6 00002866 4E75 rts 00002868 4D45 chk.w D6, D5 0000286A 4D43 chk.w D6, D3 0000286C 4F50 chk.w D7, [A0] 0000286E 5920 subq.b -[A0], 4 fn00002870: 00002870 4E56 0000 link A6, 0 00002874 206E 0008 movea.l A0, [A6 + 0x8] 00002878 1010 move.b D0, [A0] 0000287A 4880 ext.w D0 0000287C 5240 addq.w D0, 1 0000287E 3F00 move.w -[A7], D0 00002880 2F2E 000C move.l -[A7], [A6 + 0xC] 00002884 2F2E 0008 move.l -[A7], [A6 + 0x8] 00002888 4EAD 00BA jsr [A5 + 0xBA /* export_19 */] 0000288C 4FEF 000A lea.l A7, [A7 + 0xA] 00002890 4E5E unlink A6 00002892 4E75 rts 00002894 5053 addq.w [A3], 8 00002896 5452 addq.w [A2], 2 00002898 434D chk.w D1, A5 0000289A 5020 addq.b -[A0], 8 fn0000289C: 0000289C 4E56 0000 link A6, 0 000028A0 206E 000C movea.l A0, [A6 + 0xC] 000028A4 1010 move.b D0, [A0] 000028A6 4880 ext.w D0 000028A8 5240 addq.w D0, 1 000028AA 3F00 move.w -[A7], D0 000028AC 2F2E 000C move.l -[A7], [A6 + 0xC] 000028B0 2F2E 0008 move.l -[A7], [A6 + 0x8] 000028B4 4EAD 00CA jsr [A5 + 0xCA /* export_21 */] 000028B8 4FEF 000A lea.l A7, [A7 + 0xA] 000028BC 4E5E unlink A6 000028BE 4E75 rts 000028C0 5053 addq.w [A3], 8 000028C2 5452 addq.w [A2], 2 000028C4 4350 chk.w D1, [A0] 000028C6 5920 subq.b -[A0], 4 fn000028C8: 000028C8 4E56 FFFA link A6, -0x0006 000028CC 41ED FD0C lea.l A0, [A5 - 0x2F4] 000028D0 2B48 FC02 move.l [A5 - 0x3FE], A0 000028D4 41ED FCF4 lea.l A0, [A5 - 0x30C] 000028D8 2B48 FC06 move.l [A5 - 0x3FA], A0 000028DC 41ED FD04 lea.l A0, [A5 - 0x2FC] 000028E0 2B48 FC0A move.l [A5 - 0x3F6], A0 000028E4 41ED FCFC lea.l A0, [A5 - 0x304] 000028E8 2B48 FC0E move.l [A5 - 0x3F2], A0 000028EC 41ED FD14 lea.l A0, [A5 - 0x2EC] 000028F0 2B48 FC12 move.l [A5 - 0x3EE], A0 000028F4 598F subq.l A7, 4 000028F6 A8D8 syscall NewRgn 000028F8 205F movea.l A0, [A7]+ 000028FA 2B48 FBFA move.l [A5 - 0x406], A0 000028FE A8DA syscall OpenRgn 00002900 3F3C 0020 move.w -[A7], 0x20 /* ' ' */ 00002904 4267 clr.w -[A7] 00002906 A893 syscall MoveTo 00002908 3F3C 0025 move.w -[A7], 0x25 /* '%' */ 0000290C 3F3C 0005 move.w -[A7], 0x5 00002910 A891 syscall LineTo 00002912 3F3C 0025 move.w -[A7], 0x25 /* '%' */ 00002916 3F3C 0025 move.w -[A7], 0x25 /* '%' */ 0000291A A891 syscall LineTo 0000291C 3F3C 0005 move.w -[A7], 0x5 00002920 3F3C 0025 move.w -[A7], 0x25 /* '%' */ 00002924 A891 syscall LineTo 00002926 4267 clr.w -[A7] 00002928 3F3C 0020 move.w -[A7], 0x20 /* ' ' */ 0000292C A891 syscall LineTo 0000292E 3F3C 0020 move.w -[A7], 0x20 /* ' ' */ 00002932 3F3C 0020 move.w -[A7], 0x20 /* ' ' */ 00002936 A891 syscall LineTo 00002938 3F3C 0020 move.w -[A7], 0x20 /* ' ' */ 0000293C 4267 clr.w -[A7] 0000293E A891 syscall LineTo 00002940 2F2D FBFA move.l -[A7], [A5 - 0x406] 00002944 A8DB syscall CloseRgn 00002946 598F subq.l A7, 4 00002948 A8D8 syscall NewRgn 0000294A 205F movea.l A0, [A7]+ 0000294C 2B48 FBF6 move.l [A5 - 0x40A], A0 00002950 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 00002954 4267 clr.w -[A7] 00002956 4267 clr.w -[A7] 00002958 3F3C 0020 move.w -[A7], 0x20 /* ' ' */ 0000295C 3F3C 0020 move.w -[A7], 0x20 /* ' ' */ 00002960 A8DE syscall SetRecRgn 00002962 2F2D FBFA move.l -[A7], [A5 - 0x406] 00002966 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 0000296A 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 0000296E A8E5 syscall UnionRgn 00002970 486D FC16 pea.l [A5 - 0x3EA] 00002974 4267 clr.w -[A7] 00002976 4267 clr.w -[A7] 00002978 A880 syscall SetPt 0000297A 486D FC1A pea.l [A5 - 0x3E6] 0000297E 4267 clr.w -[A7] 00002980 4267 clr.w -[A7] 00002982 A880 syscall SetPt 00002984 598F subq.l A7, 4 00002986 A8D8 syscall NewRgn 00002988 205F movea.l A0, [A7]+ 0000298A 2B48 FBFE move.l [A5 - 0x402], A0 0000298E 2F2D FBFE move.l -[A7], [A5 - 0x402] 00002992 486D FB40 pea.l [A5 - 0x4C0] 00002996 A8DF syscall RectRgn 00002998 426E FFFE clr.w [A6 - 0x2] 0000299C 6022 bra +0x24 /* 000029C0 */ label0000299E: 0000299E 302E FFFE move.w D0, [A6 - 0x2] 000029A2 48C0 ext.l D0 000029A4 E580 asl D0, 2 000029A6 41ED FBE2 lea.l A0, [A5 - 0x41E] 000029AA D1C0 add.l A0, D0 000029AC 598F subq.l A7, 4 000029AE 2D48 FFFA move.l [A6 - 0x6], A0 000029B2 A8D8 syscall NewRgn 000029B4 205F movea.l A0, [A7]+ 000029B6 226E FFFA movea.l A1, [A6 - 0x6] 000029BA 2288 move.l [A1], A0 000029BC 526E FFFE addq.w [A6 - 0x2], 1 label000029C0: 000029C0 0C6E 0005 FFFE cmpi.w [A6 - 0x2], 0x5 000029C6 6DD6 blt -0x28 /* 0000299E */ 000029C8 4E5E unlink A6 000029CA 4E75 rts 000029CC 494E chk.w D4, A6 000029CE 4954 chk.w D4, [A4] 000029D0 5245 addq.w D5, 1 000029D2 4749 chk.w D3, A1 fn000029D4: 000029D4 4E56 0000 link A6, 0 000029D8 302E 000A move.w D0, [A6 + 0xA] 000029DC 906D FC18 sub.w D0, [A5 - 0x3E8] 000029E0 322E 0008 move.w D1, [A6 + 0x8] 000029E4 926D FC16 sub.w D1, [A5 - 0x3EA] 000029E8 2F2D FBFA move.l -[A7], [A5 - 0x406] 000029EC 3F00 move.w -[A7], D0 000029EE 3F01 move.w -[A7], D1 000029F0 A8E0 syscall OffsetRgn/OfsetRgn 000029F2 2B6E 0008 FC16 move.l [A5 - 0x3EA], [A6 + 0x8] 000029F8 4E5E unlink A6 000029FA 4E75 rts 000029FC 4D4F chk.w D6, A7 000029FE 5645 addq.w D5, 3 00002A00 5348 subq.w A0, 1 00002A02 4144 chk.w D0, D4 fn00002A04: 00002A04 4E56 0000 link A6, 0 00002A08 302E 000A move.w D0, [A6 + 0xA] 00002A0C 906D FC1C sub.w D0, [A5 - 0x3E4] 00002A10 322E 0008 move.w D1, [A6 + 0x8] 00002A14 926D FC1A sub.w D1, [A5 - 0x3E6] 00002A18 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 00002A1C 3F00 move.w -[A7], D0 00002A1E 3F01 move.w -[A7], D1 00002A20 A8E0 syscall OffsetRgn/OfsetRgn 00002A22 2B6E 0008 FC1A move.l [A5 - 0x3E6], [A6 + 0x8] 00002A28 4E5E unlink A6 00002A2A 4E75 rts 00002A2C 4D4F chk.w D6, A7 00002A2E 5645 addq.w D5, 3 00002A30 5449 addq.w A1, 2 00002A32 4C45 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, D5 // begin alternate branch 00002A34-00002A40 fn00002A34: 00002A34 4E56 0000 link A6, 0 00002A38 2F2E 0008 move.l -[A7], [A6 + 0x8] 00002A3C 4EBA FF96 jsr [PC - 0x6A /* 000029D4 */] // end alternate branch 00002A34-00002A40 fn00002A34: // (misaligned) 00002A36 0000 2F2E ori.b D0, 0x2E /* '.' */ 00002A3A 0008 4EBA ori.b A0, 0xBA 00002A3E FF96 .invalid <> 00002A40 588F addq.l A7, 4 00002A42 302E 000C move.w D0, [A6 + 0xC] 00002A46 48C0 ext.l D0 00002A48 E580 asl D0, 2 00002A4A 41ED FC02 lea.l A0, [A5 - 0x3FE] 00002A4E D1C0 add.l A0, D0 00002A50 2F2D FBFA move.l -[A7], [A5 - 0x406] 00002A54 2F10 move.l -[A7], [A0] 00002A56 A8D6 syscall FillRgn 00002A58 3F3C 0001 move.w -[A7], 0x1 00002A5C 3F3C 0001 move.w -[A7], 0x1 00002A60 A89B syscall PenSize 00002A62 486D FD0C pea.l [A5 - 0x2F4] 00002A66 A89D syscall PenPat 00002A68 2F2D FBFA move.l -[A7], [A5 - 0x406] 00002A6C A8D2 syscall FrameRgn 00002A6E 4E5E unlink A6 00002A70 4E75 rts 00002A72 444F neg.w A7 00002A74 5348 subq.w A0, 1 00002A76 4144 chk.w D0, D4 00002A78 4F57 chk.w D7, [A7] fn00002A7A: 00002A7A 4E56 FFFE link A6, -0x0002 00002A7E 426E FFFE clr.w [A6 - 0x2] 00002A82 6010 bra +0x12 /* 00002A94 */ label00002A84: 00002A84 41ED EC52 lea.l A0, [A5 - 0x13AE] 00002A88 D0EE FFFE add.w A0, [A6 - 0x2] 00002A8C 7001 moveq.l D0, 0x01 00002A8E 1080 move.b [A0], D0 00002A90 526E FFFE addq.w [A6 - 0x2], 1 label00002A94: 00002A94 0C6E 0090 FFFE cmpi.w [A6 - 0x2], 0x90 00002A9A 6DE8 blt -0x16 /* 00002A84 */ 00002A9C 4E5E unlink A6 00002A9E 4E75 rts 00002AA0 494E chk.w D4, A6 00002AA2 4954 chk.w D4, [A4] 00002AA4 5449 addq.w A1, 2 00002AA6 4C45 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, D5 // begin alternate branch 00002AA8-00002AAC fn00002AA8: 00002AA8 4E56 FFF2 link A6, -0x000E // end alternate branch 00002AA8-00002AAC fn00002AA8: // (misaligned) 00002AAA FFF2 .invalid <> 00002AAC 3D7C 0090 FFFE move.w [A6 - 0x2], 0x90 00002AB2 426E FFFA clr.w [A6 - 0x6] 00002AB6 426E FFF8 clr.w [A6 - 0x8] 00002ABA 7001 moveq.l D0, 0x01 00002ABC 3D40 FFF6 move.w [A6 - 0xA], D0 00002AC0 70FF moveq.l D0, 0xFFFFFFFF 00002AC2 3B40 FC1E move.w [A5 - 0x3E2], D0 00002AC6 426D FC20 clr.w [A5 - 0x3E0] 00002ACA 426D FC22 clr.w [A5 - 0x3DE] 00002ACE 426D FC24 clr.w [A5 - 0x3DC] 00002AD2 3F3C 0004 move.w -[A7], 0x4 00002AD6 4EBA F9B4 jsr [PC - 0x64C /* 0000248C */] 00002ADA 548F addq.l A7, 2 00002ADC 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 00002AE0 A873 syscall SetPort 00002AE2 486D FB40 pea.l [A5 - 0x4C0] 00002AE6 A87B syscall ClipRect 00002AE8 601A bra +0x1C /* 00002B04 */ label00002AEA: 00002AEA 302E FFF8 move.w D0, [A6 - 0x8] 00002AEE 48C0 ext.l D0 00002AF0 E580 asl D0, 2 00002AF2 41ED FBE2 lea.l A0, [A5 - 0x41E] 00002AF6 D1C0 add.l A0, D0 00002AF8 2F10 move.l -[A7], [A0] 00002AFA 486D FB40 pea.l [A5 - 0x4C0] 00002AFE A8DF syscall RectRgn 00002B00 526E FFF8 addq.w [A6 - 0x8], 1 label00002B04: 00002B04 0C6E 0005 FFF8 cmpi.w [A6 - 0x8], 0x5 00002B0A 6DDE blt -0x20 /* 00002AEA */ 00002B0C 4EBA 02EC jsr [PC + 0x2EC /* 00002DFA */] 00002B10 6000 00C0 bra +0xC2 /* 00002BD2 */ label00002B14: 00002B14 306E FFFA movea.w A0, [A6 - 0x6] 00002B18 2008 move.l D0, A0 00002B1A 81FC 0008 divs.w D0, 0x8 00002B1E 41ED F6E2 lea.l A0, [A5 - 0x91E] 00002B22 D0C0 add.w A0, D0 00002B24 326E FFFA movea.w A1, [A6 - 0x6] 00002B28 2009 move.l D0, A1 00002B2A 81FC 0008 divs.w D0, 0x8 00002B2E 4840 swap.w D0 00002B30 7201 moveq.l D1, 0x01 00002B32 E169 lsl D1.w, D0 00002B34 7000 moveq.l D0, 0x00 00002B36 1010 move.b D0, [A0] 00002B38 C041 and.w D0, D1 00002B3A 4A40 tst.w D0 00002B3C 6700 0084 beq +0x86 /* 00002BC2 */ 00002B40 3F2E FFFE move.w -[A7], [A6 - 0x2] 00002B44 4EBA DC32 jsr [PC - 0x23CE /* 00000778 */] 00002B48 548F addq.l A7, 2 00002B4A 3D40 FFFC move.w [A6 - 0x4], D0 00002B4E 3F2E FFFC move.w -[A7], [A6 - 0x4] 00002B52 4EBA 00BC jsr [PC + 0xBC /* 00002C10 */] 00002B56 548F addq.l A7, 2 00002B58 3D40 FFFC move.w [A6 - 0x4], D0 00002B5C 536E FFFE subq.w [A6 - 0x2], 1 00002B60 41ED ECE2 lea.l A0, [A5 - 0x131E] 00002B64 D0EE FFFA add.w A0, [A6 - 0x6] 00002B68 10AE FFFD move.b [A0], [A6 - 0x3] 00002B6C 302E FFFA move.w D0, [A6 - 0x6] 00002B70 7209 moveq.l D1, 0x09 00002B72 E260 asr D0.w, D1 00002B74 48C0 ext.l D0 00002B76 E580 asl D0, 2 00002B78 41ED FBE2 lea.l A0, [A5 - 0x41E] 00002B7C D1C0 add.l A0, D0 00002B7E 2F10 move.l -[A7], [A0] 00002B80 42A7 clr.l -[A7] 00002B82 3F2E FFFA move.w -[A7], [A6 - 0x6] 00002B86 3F2E FFFC move.w -[A7], [A6 - 0x4] 00002B8A 4EBA 0188 jsr [PC + 0x188 /* 00002D14 */] 00002B8E 4FEF 000C lea.l A7, [A7 + 0xC] 00002B92 302E FFFA move.w D0, [A6 - 0x6] 00002B96 7209 moveq.l D1, 0x09 00002B98 E260 asr D0.w, D1 00002B9A 48C0 ext.l D0 00002B9C E580 asl D0, 2 00002B9E 41ED FBE2 lea.l A0, [A5 - 0x41E] 00002BA2 D1C0 add.l A0, D0 00002BA4 302E FFFA move.w D0, [A6 - 0x6] 00002BA8 7209 moveq.l D1, 0x09 00002BAA E260 asr D0.w, D1 00002BAC 48C0 ext.l D0 00002BAE E580 asl D0, 2 00002BB0 43ED FBE2 lea.l A1, [A5 - 0x41E] 00002BB4 D3C0 add.l A1, D0 00002BB6 2F10 move.l -[A7], [A0] 00002BB8 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 00002BBC 2F11 move.l -[A7], [A1] 00002BBE A8E6 syscall DiffRgn 00002BC0 600C bra +0xE /* 00002BCE */ label00002BC2: 00002BC2 41ED ECE2 lea.l A0, [A5 - 0x131E] 00002BC6 D0EE FFFA add.w A0, [A6 - 0x6] 00002BCA 70A0 moveq.l D0, 0xFFFFFFA0 00002BCC 1080 move.b [A0], D0 label00002BCE: 00002BCE 526E FFFA addq.w [A6 - 0x6], 1 label00002BD2: 00002BD2 0C6E 0A00 FFFA cmpi.w [A6 - 0x6], 0xA00 /* '\n\0' */ 00002BD8 6C1C bge +0x1E /* 00002BF6 */ 00002BDA 4A6E FFFE tst.w [A6 - 0x2] 00002BDE 6600 FF34 bne -0xCA /* 00002B14 */ 00002BE2 6012 bra +0x14 /* 00002BF6 */ label00002BE4: 00002BE4 302E FFFA move.w D0, [A6 - 0x6] 00002BE8 526E FFFA addq.w [A6 - 0x6], 1 00002BEC 41ED ECE2 lea.l A0, [A5 - 0x131E] 00002BF0 D0C0 add.w A0, D0 00002BF2 70A0 moveq.l D0, 0xFFFFFFA0 00002BF4 1080 move.b [A0], D0 label00002BF6: 00002BF6 0C6E 0A00 FFFA cmpi.w [A6 - 0x6], 0xA00 /* '\n\0' */ 00002BFC 6DE6 blt -0x18 /* 00002BE4 */ 00002BFE 4EBA 01D4 jsr [PC + 0x1D4 /* 00002DD4 */] 00002C02 A850 syscall InitCursor 00002C04 4E5E unlink A6 00002C06 4E75 rts 00002C08 504C addq.w A4, 8 00002C0A 4143 chk.w D0, D3 00002C0C 4554 chk.w D2, [A4] 00002C0E 494C chk.w D4, A4 fn00002C10: 00002C10 4E56 FFFE link A6, -0x0002 00002C14 426E FFFE clr.w [A6 - 0x2] 00002C18 6016 bra +0x18 /* 00002C30 */ label00002C1A: 00002C1A 41ED EC52 lea.l A0, [A5 - 0x13AE] 00002C1E D0EE FFFE add.w A0, [A6 - 0x2] 00002C22 0C10 0001 cmpi.b [A0], 0x1 00002C26 6604 bne +0x6 /* 00002C2C */ 00002C28 536E 0008 subq.w [A6 + 0x8], 1 label00002C2C: 00002C2C 526E FFFE addq.w [A6 - 0x2], 1 label00002C30: 00002C30 4A6E 0008 tst.w [A6 + 0x8] 00002C34 66E4 bne -0x1A /* 00002C1A */ 00002C36 6004 bra +0x6 /* 00002C3C */ label00002C38: 00002C38 526E FFFE addq.w [A6 - 0x2], 1 label00002C3C: 00002C3C 41ED EC52 lea.l A0, [A5 - 0x13AE] 00002C40 D0EE FFFE add.w A0, [A6 - 0x2] 00002C44 4A10 tst.b [A0] 00002C46 67F0 beq -0xE /* 00002C38 */ 00002C48 0C6E 0090 FFFE cmpi.w [A6 - 0x2], 0x90 00002C4E 6D0C blt +0xE /* 00002C5C */ 00002C50 4879 0000 01C8 push.l 0x1C8 00002C56 4EBA F93E jsr [PC - 0x6C2 /* 00002596 */] 00002C5A 588F addq.l A7, 4 label00002C5C: 00002C5C 41ED EC52 lea.l A0, [A5 - 0x13AE] 00002C60 D0EE FFFE add.w A0, [A6 - 0x2] 00002C64 4210 clr.b [A0] 00002C66 302E FFFE move.w D0, [A6 - 0x2] 00002C6A 4E5E unlink A6 00002C6C 4E75 rts 00002C6E 4652 not.w [A2] 00002C70 4545 chk.w D2, D5 00002C72 5449 addq.w A1, 2 00002C74 4C45 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, D5 // begin alternate branch 00002C76-00002C7A fn00002C76: 00002C76 4E56 FFFC link A6, -0x0004 // end alternate branch 00002C76-00002C7A fn00002C76: // (misaligned) 00002C78 FFFC .invalid <> 00002C7A 701F moveq.l D0, 0x1F 00002C7C C06E 0008 and.w D0, [A6 + 0x8] 00002C80 E940 asl D0.w, 4 00002C82 322E 0008 move.w D1, [A6 + 0x8] 00002C86 7409 moveq.l D2, 0x09 00002C88 E461 asr D1.w, D2 00002C8A C3FC FFFB muls.w D1, 0xFFFB 00002C8E D041 add.w D0, D1 00002C90 3D40 FFFE move.w [A6 - 0x2], D0 00002C94 303C 01FF move.w D0, 0x1FF 00002C98 C06E 0008 and.w D0, [A6 + 0x8] 00002C9C EA48 lsr D0.w, 5 00002C9E E940 asl D0.w, 4 00002CA0 322E 0008 move.w D1, [A6 + 0x8] 00002CA4 7409 moveq.l D2, 0x09 00002CA6 E461 asr D1.w, D2 00002CA8 C3FC FFFB muls.w D1, 0xFFFB 00002CAC D041 add.w D0, D1 00002CAE 0640 0020 addi.w D0, 0x20 /* ' ' */ 00002CB2 3D40 FFFC move.w [A6 - 0x4], D0 00002CB6 206E 000A movea.l A0, [A6 + 0xA] 00002CBA 20AE FFFC move.l [A0], [A6 - 0x4] 00002CBE 4E5E unlink A6 00002CC0 4E75 rts 00002CC2 444F neg.w A7 00002CC4 4646 not.w D6 00002CC6 5345 subq.w D5, 1 00002CC8 5420 addq.b -[A0], 2 fn00002CCA: 00002CCA 4E56 FFFC link A6, -0x0004 00002CCE 306E 0008 movea.w A0, [A6 + 0x8] 00002CD2 2008 move.l D0, A0 00002CD4 81FC 0024 divs.w D0, 0x24 /* '$' */ 00002CD8 4840 swap.w D0 00002CDA 3D40 0008 move.w [A6 + 0x8], D0 00002CDE 306E 0008 movea.w A0, [A6 + 0x8] 00002CE2 2008 move.l D0, A0 00002CE4 81FC 0006 divs.w D0, 0x6 00002CE8 EB40 asl D0.w, 5 00002CEA 3D40 FFFE move.w [A6 - 0x2], D0 00002CEE 306E 0008 movea.w A0, [A6 + 0x8] 00002CF2 2008 move.l D0, A0 00002CF4 81FC 0006 divs.w D0, 0x6 00002CF8 4840 swap.w D0 00002CFA EB40 asl D0.w, 5 00002CFC 3D40 FFFC move.w [A6 - 0x4], D0 00002D00 206E 000A movea.l A0, [A6 + 0xA] 00002D04 20AE FFFC move.l [A0], [A6 - 0x4] 00002D08 4E5E unlink A6 00002D0A 4E75 rts 00002D0C 534F subq.w A7, 1 00002D0E 4646 not.w D6 00002D10 5345 subq.w D5, 1 00002D12 5420 addq.b -[A0], 2 fn00002D14: 00002D14 4E56 FFE8 link A6, -0x0018 00002D18 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 00002D1C A873 syscall SetPort 00002D1E 486D FB40 pea.l [A5 - 0x4C0] 00002D22 A87B syscall ClipRect 00002D24 486E FFEC pea.l [A6 - 0x14] 00002D28 3F2E 0008 move.w -[A7], [A6 + 0x8] 00002D2C 4EBA FF9C jsr [PC - 0x64 /* 00002CCA */] 00002D30 5C8F addq.l A7, 6 00002D32 486E FFE8 pea.l [A6 - 0x18] 00002D36 3F2E 000A move.w -[A7], [A6 + 0xA] 00002D3A 4EBA FF3A jsr [PC - 0xC6 /* 00002C76 */] 00002D3E 5C8F addq.l A7, 6 00002D40 486E FFF8 pea.l [A6 - 0x8] 00002D44 3F2E FFEE move.w -[A7], [A6 - 0x12] 00002D48 3F2E FFEC move.w -[A7], [A6 - 0x14] 00002D4C 302E FFEE move.w D0, [A6 - 0x12] 00002D50 0640 0020 addi.w D0, 0x20 /* ' ' */ 00002D54 3F00 move.w -[A7], D0 00002D56 302E FFEC move.w D0, [A6 - 0x14] 00002D5A 0640 0020 addi.w D0, 0x20 /* ' ' */ 00002D5E 3F00 move.w -[A7], D0 00002D60 A8A7 syscall SetRect 00002D62 486E FFF0 pea.l [A6 - 0x10] 00002D66 3F2E FFEA move.w -[A7], [A6 - 0x16] 00002D6A 3F2E FFE8 move.w -[A7], [A6 - 0x18] 00002D6E 302E FFEA move.w D0, [A6 - 0x16] 00002D72 0640 0020 addi.w D0, 0x20 /* ' ' */ 00002D76 3F00 move.w -[A7], D0 00002D78 302E FFE8 move.w D0, [A6 - 0x18] 00002D7C 0640 0020 addi.w D0, 0x20 /* ' ' */ 00002D80 3F00 move.w -[A7], D0 00002D82 A8A7 syscall SetRect 00002D84 206D FB34 movea.l A0, [A5 - 0x4CC] 00002D88 4868 0002 pea.l [A0 + 0x2] 00002D8C 206D FB30 movea.l A0, [A5 - 0x4D0] 00002D90 4868 0002 pea.l [A0 + 0x2] 00002D94 486E FFF8 pea.l [A6 - 0x8] 00002D98 486E FFF0 pea.l [A6 - 0x10] 00002D9C 4267 clr.w -[A7] 00002D9E 2F2E 000C move.l -[A7], [A6 + 0xC] 00002DA2 A8EC syscall CopyBits 00002DA4 2F2E FFE8 move.l -[A7], [A6 - 0x18] 00002DA8 4EBA FC5A jsr [PC - 0x3A6 /* 00002A04 */] 00002DAC 588F addq.l A7, 4 00002DAE 2F2E 0010 move.l -[A7], [A6 + 0x10] 00002DB2 A879 syscall SetClip 00002DB4 302E 000A move.w D0, [A6 + 0xA] 00002DB8 7209 moveq.l D1, 0x09 00002DBA E260 asr D0.w, D1 00002DBC 3F00 move.w -[A7], D0 00002DBE 2F2E FFE8 move.l -[A7], [A6 - 0x18] 00002DC2 4EBA FC70 jsr [PC - 0x390 /* 00002A34 */] 00002DC6 5C8F addq.l A7, 6 00002DC8 4E5E unlink A6 00002DCA 4E75 rts 00002DCC 504C addq.w A4, 8 00002DCE 4143 chk.w D0, D3 00002DD0 4554 chk.w D2, [A4] 00002DD2 494C chk.w D4, A4 fn00002DD4: 00002DD4 2F2D FB3C move.l -[A7], [A5 - 0x4C4] 00002DD8 A873 syscall SetPort 00002DDA 206D FB30 movea.l A0, [A5 - 0x4D0] 00002DDE 4868 0002 pea.l [A0 + 0x2] 00002DE2 206D FB3C movea.l A0, [A5 - 0x4C4] 00002DE6 4868 0002 pea.l [A0 + 0x2] 00002DEA 486D FB40 pea.l [A5 - 0x4C0] 00002DEE 486D FB40 pea.l [A5 - 0x4C0] 00002DF2 4267 clr.w -[A7] 00002DF4 42A7 clr.l -[A7] 00002DF6 A8EC syscall CopyBits 00002DF8 4E75 rts fn00002DFA: 00002DFA 206D FB38 movea.l A0, [A5 - 0x4C8] 00002DFE 4868 0002 pea.l [A0 + 0x2] 00002E02 206D FB30 movea.l A0, [A5 - 0x4D0] 00002E06 4868 0002 pea.l [A0 + 0x2] 00002E0A 486D FB40 pea.l [A5 - 0x4C0] 00002E0E 486D FB40 pea.l [A5 - 0x4C0] 00002E12 4267 clr.w -[A7] 00002E14 42A7 clr.l -[A7] 00002E16 A8EC syscall CopyBits 00002E18 4E75 rts 00002E1A 4E56 FFFE link A6, -0x0002 00002E1E 426E FFFE clr.w [A6 - 0x2] 00002E22 6012 bra +0x14 /* 00002E36 */ label00002E24: 00002E24 302E FFFE move.w D0, [A6 - 0x2] 00002E28 48C0 ext.l D0 00002E2A E580 asl D0, 2 00002E2C 41ED FBE2 lea.l A0, [A5 - 0x41E] 00002E30 D1C0 add.l A0, D0 00002E32 2F10 move.l -[A7], [A0] 00002E34 A8D9 syscall DisposRgn/DisposeRgn label00002E36: 00002E36 0C6E 0005 FFFE cmpi.w [A6 - 0x2], 0x5 00002E3C 6DE6 blt -0x18 /* 00002E24 */ 00002E3E 4E5E unlink A6 00002E40 4E75 rts 00002E42 434C chk.w D1, A4 00002E44 4541 chk.w D2, D1 00002E46 4E55 5020 link A5, -0xFFFFAFE0 fn00002E4A: 00002E4A 4E56 0000 link A6, 0 00002E4E 302E 0008 move.w D0, [A6 + 0x8] 00002E52 7209 moveq.l D1, 0x09 00002E54 E260 asr D0.w, D1 00002E56 B06E 000A cmp.w D0, [A6 + 0xA] 00002E5A 6704 beq +0x6 /* 00002E60 */ 00002E5C 7001 moveq.l D0, 0x01 00002E5E 6028 bra +0x2A /* 00002E88 */ label00002E60: 00002E60 4A6E 0008 tst.w [A6 + 0x8] 00002E64 6D08 blt +0xA /* 00002E6E */ 00002E66 0C6E 0A00 0008 cmpi.w [A6 + 0x8], 0xA00 /* '\n\0' */ 00002E6C 6D04 blt +0x6 /* 00002E72 */ label00002E6E: 00002E6E 7001 moveq.l D0, 0x01 00002E70 6016 bra +0x18 /* 00002E88 */ label00002E72: 00002E72 41ED ECE2 lea.l A0, [A5 - 0x131E] 00002E76 D0EE 0008 add.w A0, [A6 + 0x8] 00002E7A 7000 moveq.l D0, 0x00 00002E7C 1010 move.b D0, [A0] 00002E7E 0C40 00A0 cmpi.w D0, 0xA0 00002E82 57C0 seq D0 00002E84 4400 neg.b D0 00002E86 4880 ext.w D0 label00002E88: 00002E88 4E5E unlink A6 00002E8A 4E75 rts 00002E8C 5445 addq.w D5, 2 00002E8E 5354 subq.w [A4], 1 00002E90 5350 subq.w [A0], 1 00002E92 4F54 chk.w D7, [A4] fn00002E94: 00002E94 4E56 FFF6 link A6, -0x000A 00002E98 7001 moveq.l D0, 0x01 00002E9A 3D40 FFFA move.w [A6 - 0x6], D0 00002E9E 7001 moveq.l D0, 0x01 00002EA0 3D40 FFF8 move.w [A6 - 0x8], D0 00002EA4 302E 0008 move.w D0, [A6 + 0x8] 00002EA8 7209 moveq.l D1, 0x09 00002EAA E260 asr D0.w, D1 00002EAC 3D40 FFF6 move.w [A6 - 0xA], D0 00002EB0 0C6E 0004 FFF6 cmpi.w [A6 - 0xA], 0x4 00002EB6 6C46 bge +0x48 /* 00002EFE */ 00002EB8 426E FFFE clr.w [A6 - 0x2] 00002EBC 6038 bra +0x3A /* 00002EF6 */ label00002EBE: 00002EBE 302E FFFE move.w D0, [A6 - 0x2] 00002EC2 48C0 ext.l D0 00002EC4 D080 add.l D0, D0 00002EC6 41ED FC32 lea.l A0, [A5 - 0x3CE] 00002ECA D1C0 add.l A0, D0 00002ECC 302E 0008 move.w D0, [A6 + 0x8] 00002ED0 D050 add.w D0, [A0] 00002ED2 3D40 FFFC move.w [A6 - 0x4], D0 00002ED6 302E FFF6 move.w D0, [A6 - 0xA] 00002EDA 5240 addq.w D0, 1 00002EDC 3F00 move.w -[A7], D0 00002EDE 3F2E FFFC move.w -[A7], [A6 - 0x4] 00002EE2 4EBA FF66 jsr [PC - 0x9A /* 00002E4A */] 00002EE6 588F addq.l A7, 4 00002EE8 4A40 tst.w D0 00002EEA 6606 bne +0x8 /* 00002EF2 */ 00002EEC 7000 moveq.l D0, 0x00 00002EEE 6000 00BA bra +0xBC /* 00002FAA */ label00002EF2: 00002EF2 526E FFFE addq.w [A6 - 0x2], 1 label00002EF6: 00002EF6 0C6E 0009 FFFE cmpi.w [A6 - 0x2], 0x9 /* '\t' */ 00002EFC 6DC0 blt -0x3E /* 00002EBE */ label00002EFE: 00002EFE 701F moveq.l D0, 0x1F 00002F00 C06E 0008 and.w D0, [A6 + 0x8] 00002F04 0C40 0002 cmpi.w D0, 0x2 00002F08 650C bcs +0xE /* 00002F16 */ 00002F0A 701F moveq.l D0, 0x1F 00002F0C C06E 0008 and.w D0, [A6 + 0x8] 00002F10 0C40 001C cmpi.w D0, 0x1C 00002F14 6306 bls +0x8 /* 00002F1C */ label00002F16: 00002F16 7001 moveq.l D0, 0x01 00002F18 6000 0090 bra +0x92 /* 00002FAA */ label00002F1C: 00002F1C 426E FFFE clr.w [A6 - 0x2] 00002F20 6032 bra +0x34 /* 00002F54 */ label00002F22: 00002F22 302E FFFE move.w D0, [A6 - 0x2] 00002F26 48C0 ext.l D0 00002F28 D080 add.l D0, D0 00002F2A 41ED FC26 lea.l A0, [A5 - 0x3DA] 00002F2E D1C0 add.l A0, D0 00002F30 302E 0008 move.w D0, [A6 + 0x8] 00002F34 D050 add.w D0, [A0] 00002F36 3D40 FFFC move.w [A6 - 0x4], D0 00002F3A 3F2E FFF6 move.w -[A7], [A6 - 0xA] 00002F3E 3F2E FFFC move.w -[A7], [A6 - 0x4] 00002F42 4EBA FF06 jsr [PC - 0xFA /* 00002E4A */] 00002F46 588F addq.l A7, 4 00002F48 4A40 tst.w D0 00002F4A 6604 bne +0x6 /* 00002F50 */ 00002F4C 426E FFFA clr.w [A6 - 0x6] label00002F50: 00002F50 526E FFFE addq.w [A6 - 0x2], 1 label00002F54: 00002F54 0C6E 0003 FFFE cmpi.w [A6 - 0x2], 0x3 00002F5A 6DC6 blt -0x38 /* 00002F22 */ 00002F5C 4A6E FFFA tst.w [A6 - 0x6] 00002F60 6704 beq +0x6 /* 00002F66 */ 00002F62 7001 moveq.l D0, 0x01 00002F64 6044 bra +0x46 /* 00002FAA */ label00002F66: 00002F66 426E FFFE clr.w [A6 - 0x2] 00002F6A 6032 bra +0x34 /* 00002F9E */ label00002F6C: 00002F6C 302E FFFE move.w D0, [A6 - 0x2] 00002F70 48C0 ext.l D0 00002F72 D080 add.l D0, D0 00002F74 41ED FC2C lea.l A0, [A5 - 0x3D4] 00002F78 D1C0 add.l A0, D0 00002F7A 302E 0008 move.w D0, [A6 + 0x8] 00002F7E D050 add.w D0, [A0] 00002F80 3D40 FFFC move.w [A6 - 0x4], D0 00002F84 3F2E FFF6 move.w -[A7], [A6 - 0xA] 00002F88 3F2E FFFC move.w -[A7], [A6 - 0x4] 00002F8C 4EBA FEBC jsr [PC - 0x144 /* 00002E4A */] 00002F90 588F addq.l A7, 4 00002F92 4A40 tst.w D0 00002F94 6604 bne +0x6 /* 00002F9A */ 00002F96 426E FFF8 clr.w [A6 - 0x8] label00002F9A: 00002F9A 526E FFFE addq.w [A6 - 0x2], 1 label00002F9E: 00002F9E 0C6E 0003 FFFE cmpi.w [A6 - 0x2], 0x3 00002FA4 6DC6 blt -0x38 /* 00002F6C */ 00002FA6 302E FFF8 move.w D0, [A6 - 0x8] label00002FAA: 00002FAA 4E5E unlink A6 00002FAC 4E75 rts 00002FAE 4341 chk.w D1, D1 00002FB0 4E42 trap 2 00002FB2 454D chk.w D2, A5 00002FB4 4F56 chk.w D7, [A6] fn00002FB6: 00002FB6 4E56 FFF6 link A6, -0x000A 00002FBA 7005 moveq.l D0, 0x05 00002FBC 3D40 FFFE move.w [A6 - 0x2], D0 00002FC0 2F2D FB3C move.l -[A7], [A5 - 0x4C4] 00002FC4 A873 syscall SetPort 00002FC6 066E FFE0 0008 addi.w [A6 + 0x8], 0xFFE0 00002FCC 6000 00CA bra +0xCC /* 00003098 */ label00002FD0: 00002FD0 2D6E 0008 FFFA move.l [A6 - 0x6], [A6 + 0x8] 00002FD6 302E FFFE move.w D0, [A6 - 0x2] 00002FDA C1FC FFFB muls.w D0, 0xFFFB 00002FDE 916E FFFA sub.w [A6 - 0x6], D0 00002FE2 302E FFFE move.w D0, [A6 - 0x2] 00002FE6 C1FC FFFB muls.w D0, 0xFFFB 00002FEA 916E FFFC sub.w [A6 - 0x4], D0 00002FEE 306E FFFC movea.w A0, [A6 - 0x4] 00002FF2 2008 move.l D0, A0 00002FF4 81FC 0010 divs.w D0, 0x10 00002FF8 3D40 FFFC move.w [A6 - 0x4], D0 00002FFC 306E FFFA movea.w A0, [A6 - 0x6] 00003000 2008 move.l D0, A0 00003002 81FC 0010 divs.w D0, 0x10 00003006 3D40 FFFA move.w [A6 - 0x6], D0 0000300A 302E FFFC move.w D0, [A6 - 0x4] 0000300E 5340 subq.w D0, 1 00003010 3D40 FFF8 move.w [A6 - 0x8], D0 00003014 6000 0078 bra +0x7A /* 0000308E */ label00003018: 00003018 4A6E FFF8 tst.w [A6 - 0x8] 0000301C 6D00 006C blt +0x6E /* 0000308A */ 00003020 0C6E 001F FFF8 cmpi.w [A6 - 0x8], 0x1F 00003026 6E00 0062 bgt +0x64 /* 0000308A */ 0000302A 302E FFFA move.w D0, [A6 - 0x6] 0000302E 5340 subq.w D0, 1 00003030 3D40 FFF6 move.w [A6 - 0xA], D0 00003034 604A bra +0x4C /* 00003080 */ label00003036: 00003036 4A6E FFF6 tst.w [A6 - 0xA] 0000303A 6D40 blt +0x42 /* 0000307C */ 0000303C 0C6E 000F FFF6 cmpi.w [A6 - 0xA], 0xF 00003042 6E38 bgt +0x3A /* 0000307C */ 00003044 302E FFFE move.w D0, [A6 - 0x2] 00003048 7209 moveq.l D1, 0x09 0000304A E368 lsl D0.w, D1 0000304C 322E FFF6 move.w D1, [A6 - 0xA] 00003050 EB49 lsl D1.w, 5 00003052 D041 add.w D0, D1 00003054 D06E FFF8 add.w D0, [A6 - 0x8] 00003058 41ED ECE2 lea.l A0, [A5 - 0x131E] 0000305C D0C0 add.w A0, D0 0000305E 7000 moveq.l D0, 0x00 00003060 1010 move.b D0, [A0] 00003062 0C40 00A0 cmpi.w D0, 0xA0 00003066 6714 beq +0x16 /* 0000307C */ 00003068 3F2E FFFE move.w -[A7], [A6 - 0x2] 0000306C 3F2E FFF6 move.w -[A7], [A6 - 0xA] 00003070 3F2E FFF8 move.w -[A7], [A6 - 0x8] 00003074 4EBA 03F8 jsr [PC + 0x3F8 /* 0000346E */] 00003078 5C8F addq.l A7, 6 0000307A 6030 bra +0x32 /* 000030AC */ label0000307C: 0000307C 526E FFF6 addq.w [A6 - 0xA], 1 label00003080: 00003080 302E FFF6 move.w D0, [A6 - 0xA] 00003084 B06E FFFA cmp.w D0, [A6 - 0x6] 00003088 6FAC ble -0x52 /* 00003036 */ label0000308A: 0000308A 526E FFF8 addq.w [A6 - 0x8], 1 label0000308E: 0000308E 302E FFF8 move.w D0, [A6 - 0x8] 00003092 B06E FFFC cmp.w D0, [A6 - 0x4] 00003096 6F80 ble -0x7E /* 00003018 */ label00003098: 00003098 302E FFFE move.w D0, [A6 - 0x2] 0000309C 536E FFFE subq.w [A6 - 0x2], 1 000030A0 4A40 tst.w D0 000030A2 6600 FF2C bne -0xD2 /* 00002FD0 */ 000030A6 3F3C 0005 move.w -[A7], 0x5 000030AA A9C8 syscall SysBeep label000030AC: 000030AC 4E5E unlink A6 000030AE 4E75 rts 000030B0 434C chk.w D1, A4 000030B2 4943 chk.w D4, D3 000030B4 4B4F chk.w D5, A7 000030B6 4E54 4E56 link A4, -0xFFFFB1AA // begin alternate branch 000030B8-000030BC fn000030B8: 000030B8 4E56 FFE4 link A6, -0x001C // end alternate branch 000030B8-000030BC fn000030B8: // (misaligned) 000030BA FFE4 .invalid <> 000030BC 598F subq.l A7, 4 000030BE A8D8 syscall NewRgn 000030C0 205F movea.l A0, [A7]+ 000030C2 2D48 FFE4 move.l [A6 - 0x1C], A0 000030C6 3F3C 0004 move.w -[A7], 0x4 000030CA 4EBA F3C0 jsr [PC - 0xC40 /* 0000248C */] 000030CE 548F addq.l A7, 2 000030D0 701F moveq.l D0, 0x1F 000030D2 C06E 0008 and.w D0, [A6 + 0x8] 000030D6 3D40 FFFA move.w [A6 - 0x6], D0 000030DA 303C 01FF move.w D0, 0x1FF 000030DE C06E 0008 and.w D0, [A6 + 0x8] 000030E2 EA48 lsr D0.w, 5 000030E4 3D40 FFF8 move.w [A6 - 0x8], D0 000030E8 302E 0008 move.w D0, [A6 + 0x8] 000030EC 7209 moveq.l D1, 0x09 000030EE E260 asr D0.w, D1 000030F0 3D40 FFF6 move.w [A6 - 0xA], D0 000030F4 41ED ECE2 lea.l A0, [A5 - 0x131E] 000030F8 D0EE 0008 add.w A0, [A6 + 0x8] 000030FC 70A0 moveq.l D0, 0xFFFFFFA0 000030FE 1080 move.b [A0], D0 00003100 486E FFFC pea.l [A6 - 0x4] 00003104 3F2E 0008 move.w -[A7], [A6 + 0x8] 00003108 4EBA FB6C jsr [PC - 0x494 /* 00002C76 */] 0000310C 5C8F addq.l A7, 6 0000310E 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003112 4EBA F8F0 jsr [PC - 0x710 /* 00002A04 */] 00003116 588F addq.l A7, 4 00003118 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 0000311C 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003120 A8DC syscall CopyRgn 00003122 426E FFEE clr.w [A6 - 0x12] 00003126 6000 0078 bra +0x7A /* 000031A0 */ label0000312A: 0000312A 302E FFEE move.w D0, [A6 - 0x12] 0000312E 48C0 ext.l D0 00003130 D080 add.l D0, D0 00003132 41ED FC44 lea.l A0, [A5 - 0x3BC] 00003136 D1C0 add.l A0, D0 00003138 302E 0008 move.w D0, [A6 + 0x8] 0000313C D050 add.w D0, [A0] 0000313E 3D40 FFF4 move.w [A6 - 0xC], D0 00003142 302E 0008 move.w D0, [A6 + 0x8] 00003146 7209 moveq.l D1, 0x09 00003148 E260 asr D0.w, D1 0000314A 322E FFF4 move.w D1, [A6 - 0xC] 0000314E 7409 moveq.l D2, 0x09 00003150 E461 asr D1.w, D2 00003152 B041 cmp.w D0, D1 00003154 6646 bne +0x48 /* 0000319C */ 00003156 4A6E FFF4 tst.w [A6 - 0xC] 0000315A 6D40 blt +0x42 /* 0000319C */ 0000315C 0C6E 0A00 FFF4 cmpi.w [A6 - 0xC], 0xA00 /* '\n\0' */ 00003162 6C38 bge +0x3A /* 0000319C */ 00003164 41ED ECE2 lea.l A0, [A5 - 0x131E] 00003168 D0EE FFF4 add.w A0, [A6 - 0xC] 0000316C 7000 moveq.l D0, 0x00 0000316E 1010 move.b D0, [A0] 00003170 0C40 00A0 cmpi.w D0, 0xA0 00003174 6726 beq +0x28 /* 0000319C */ 00003176 486E FFFC pea.l [A6 - 0x4] 0000317A 3F2E FFF4 move.w -[A7], [A6 - 0xC] 0000317E 4EBA FAF6 jsr [PC - 0x50A /* 00002C76 */] 00003182 5C8F addq.l A7, 6 00003184 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003188 4EBA F87A jsr [PC - 0x786 /* 00002A04 */] 0000318C 588F addq.l A7, 4 0000318E 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003192 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 00003196 2F2D FBFE move.l -[A7], [A5 - 0x402] 0000319A A8E6 syscall DiffRgn label0000319C: 0000319C 526E FFEE addq.w [A6 - 0x12], 1 label000031A0: 000031A0 0C6E 0007 FFEE cmpi.w [A6 - 0x12], 0x7 000031A6 6D82 blt -0x7C /* 0000312A */ 000031A8 302E FFF6 move.w D0, [A6 - 0xA] 000031AC 48C0 ext.l D0 000031AE E580 asl D0, 2 000031B0 41ED FBE2 lea.l A0, [A5 - 0x41E] 000031B4 D1C0 add.l A0, D0 000031B6 302E FFF6 move.w D0, [A6 - 0xA] 000031BA 48C0 ext.l D0 000031BC E580 asl D0, 2 000031BE 43ED FBE2 lea.l A1, [A5 - 0x41E] 000031C2 D3C0 add.l A1, D0 000031C4 2F2D FBFE move.l -[A7], [A5 - 0x402] 000031C8 2F10 move.l -[A7], [A0] 000031CA 2F11 move.l -[A7], [A1] 000031CC A8E5 syscall UnionRgn 000031CE 302E FFF6 move.w D0, [A6 - 0xA] 000031D2 5240 addq.w D0, 1 000031D4 3D40 FFEE move.w [A6 - 0x12], D0 000031D8 601E bra +0x20 /* 000031F8 */ label000031DA: 000031DA 302E FFEE move.w D0, [A6 - 0x12] 000031DE 48C0 ext.l D0 000031E0 E580 asl D0, 2 000031E2 41ED FBE2 lea.l A0, [A5 - 0x41E] 000031E6 D1C0 add.l A0, D0 000031E8 2F2D FBFE move.l -[A7], [A5 - 0x402] 000031EC 2F10 move.l -[A7], [A0] 000031EE 2F2D FBFE move.l -[A7], [A5 - 0x402] 000031F2 A8E4 syscall SectRgn 000031F4 526E FFEE addq.w [A6 - 0x12], 1 label000031F8: 000031F8 0C6E 0005 FFEE cmpi.w [A6 - 0x12], 0x5 000031FE 6DDA blt -0x24 /* 000031DA */ 00003200 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 00003204 A873 syscall SetPort 00003206 2F2D FBFE move.l -[A7], [A5 - 0x402] 0000320A A879 syscall SetClip 0000320C 4EBA FBEC jsr [PC - 0x414 /* 00002DFA */] 00003210 426E FFF0 clr.w [A6 - 0x10] 00003214 6000 011A bra +0x11C /* 00003330 */ label00003218: 00003218 302E FFF6 move.w D0, [A6 - 0xA] 0000321C 906E FFF0 sub.w D0, [A6 - 0x10] 00003220 0C40 0002 cmpi.w D0, 0x2 00003224 6E04 bgt +0x6 /* 0000322A */ 00003226 7002 moveq.l D0, 0x02 00003228 6002 bra +0x4 /* 0000322C */ label0000322A: 0000322A 7003 moveq.l D0, 0x03 label0000322C: 0000322C 3D40 FFEC move.w [A6 - 0x14], D0 00003230 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003234 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00003238 A8DC syscall CopyRgn 0000323A 302E FFF8 move.w D0, [A6 - 0x8] 0000323E 906E FFEC sub.w D0, [A6 - 0x14] 00003242 3D40 FFF2 move.w [A6 - 0xE], D0 00003246 6000 00D6 bra +0xD8 /* 0000331E */ label0000324A: 0000324A 4A6E FFF2 tst.w [A6 - 0xE] 0000324E 6D00 00CA blt +0xCC /* 0000331A */ 00003252 0C6E 0010 FFF2 cmpi.w [A6 - 0xE], 0x10 00003258 6C00 00C0 bge +0xC2 /* 0000331A */ 0000325C 302E FFFA move.w D0, [A6 - 0x6] 00003260 906E FFEC sub.w D0, [A6 - 0x14] 00003264 3D40 FFF4 move.w [A6 - 0xC], D0 00003268 6000 00A2 bra +0xA4 /* 0000330C */ label0000326C: 0000326C 4A6E FFF4 tst.w [A6 - 0xC] 00003270 6D00 0096 blt +0x98 /* 00003308 */ 00003274 0C6E 0020 FFF4 cmpi.w [A6 - 0xC], 0x20 /* ' ' */ 0000327A 6C00 008C bge +0x8E /* 00003308 */ 0000327E 302E FFF0 move.w D0, [A6 - 0x10] 00003282 7209 moveq.l D1, 0x09 00003284 E368 lsl D0.w, D1 00003286 322E FFF2 move.w D1, [A6 - 0xE] 0000328A EB49 lsl D1.w, 5 0000328C D041 add.w D0, D1 0000328E D06E FFF4 add.w D0, [A6 - 0xC] 00003292 3D40 0008 move.w [A6 + 0x8], D0 00003296 41ED ECE2 lea.l A0, [A5 - 0x131E] 0000329A D0EE 0008 add.w A0, [A6 + 0x8] 0000329E 7000 moveq.l D0, 0x00 000032A0 1010 move.b D0, [A0] 000032A2 0C40 00A0 cmpi.w D0, 0xA0 000032A6 6760 beq +0x62 /* 00003308 */ 000032A8 41ED ECE2 lea.l A0, [A5 - 0x131E] 000032AC D0EE 0008 add.w A0, [A6 + 0x8] 000032B0 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000032B4 2F2D FBFE move.l -[A7], [A5 - 0x402] 000032B8 3F2E 0008 move.w -[A7], [A6 + 0x8] 000032BC 7000 moveq.l D0, 0x00 000032BE 1010 move.b D0, [A0] 000032C0 3F00 move.w -[A7], D0 000032C2 4EBA FA50 jsr [PC - 0x5B0 /* 00002D14 */] 000032C6 4FEF 000C lea.l A7, [A7 + 0xC] 000032CA 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000032CE 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 000032D2 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000032D6 A8E6 syscall DiffRgn 000032D8 302E FFF0 move.w D0, [A6 - 0x10] 000032DC B06E FFF6 cmp.w D0, [A6 - 0xA] 000032E0 6626 bne +0x28 /* 00003308 */ 000032E2 302E FFF6 move.w D0, [A6 - 0xA] 000032E6 48C0 ext.l D0 000032E8 E580 asl D0, 2 000032EA 41ED FBE2 lea.l A0, [A5 - 0x41E] 000032EE D1C0 add.l A0, D0 000032F0 302E FFF6 move.w D0, [A6 - 0xA] 000032F4 48C0 ext.l D0 000032F6 E580 asl D0, 2 000032F8 43ED FBE2 lea.l A1, [A5 - 0x41E] 000032FC D3C0 add.l A1, D0 000032FE 2F10 move.l -[A7], [A0] 00003300 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 00003304 2F11 move.l -[A7], [A1] 00003306 A8E6 syscall DiffRgn label00003308: 00003308 526E FFF4 addq.w [A6 - 0xC], 1 label0000330C: 0000330C 302E FFFA move.w D0, [A6 - 0x6] 00003310 5440 addq.w D0, 2 00003312 B06E FFF4 cmp.w D0, [A6 - 0xC] 00003316 6E00 FF54 bgt -0xAA /* 0000326C */ label0000331A: 0000331A 526E FFF2 addq.w [A6 - 0xE], 1 label0000331E: 0000331E 302E FFF8 move.w D0, [A6 - 0x8] 00003322 5440 addq.w D0, 2 00003324 B06E FFF2 cmp.w D0, [A6 - 0xE] 00003328 6E00 FF20 bgt -0xDE /* 0000324A */ 0000332C 526E FFF0 addq.w [A6 - 0x10], 1 label00003330: 00003330 302E FFF0 move.w D0, [A6 - 0x10] 00003334 B06E FFF6 cmp.w D0, [A6 - 0xA] 00003338 6F00 FEDE ble -0x120 /* 00003218 */ 0000333C 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003340 486D FB40 pea.l [A5 - 0x4C0] 00003344 A8DF syscall RectRgn 00003346 486D FB40 pea.l [A5 - 0x4C0] 0000334A A87B syscall ClipRect 0000334C A850 syscall InitCursor 0000334E 4E5E unlink A6 00003350 4E75 rts 00003352 5245 addq.w D5, 1 00003354 4D4F chk.w D6, A7 00003356 5645 addq.w D5, 3 00003358 5449 addq.w A1, 2 fn0000335A: 0000335A 4E56 FFDA link A6, -0x0026 0000335E 302D FC20 move.w D0, [A5 - 0x3E0] 00003362 B06D FC22 cmp.w D0, [A5 - 0x3DE] 00003366 6F06 ble +0x8 /* 0000336E */ 00003368 3B6D FC20 FC22 move.w [A5 - 0x3DE], [A5 - 0x3E0] label0000336E: 0000336E 3F2D FC22 move.w -[A7], [A5 - 0x3DE] 00003372 3F2D FC20 move.w -[A7], [A5 - 0x3E0] 00003376 4879 0000 01DA push.l 0x1DA 0000337C 486E FFE2 pea.l [A6 - 0x1E] 00003380 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 00003384 4FEF 000C lea.l A7, [A7 + 0xC] 00003388 486E FFE2 pea.l [A6 - 0x1E] 0000338C 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00003390 588F addq.l A7, 4 00003392 3D7C 0127 FFDA move.w [A6 - 0x26], 0x127 00003398 3D7C 013B FFDE move.w [A6 - 0x22], 0x13B 0000339E 3D7C 01EC FFE0 move.w [A6 - 0x20], 0x1EC 000033A4 558F subq.l A7, 2 000033A6 486E FFE2 pea.l [A6 - 0x1E] 000033AA A88C syscall StringWidth 000033AC 301F move.w D0, [A7]+ 000033AE 322E FFE0 move.w D1, [A6 - 0x20] 000033B2 9240 sub.w D1, D0 000033B4 5141 subq.w D1, 8 000033B6 3D41 FFDC move.w [A6 - 0x24], D1 000033BA 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 000033BE A873 syscall SetPort 000033C0 486E FFDA pea.l [A6 - 0x26] 000033C4 A8A3 syscall EraseRect 000033C6 486E FFDA pea.l [A6 - 0x26] 000033CA A8A1 syscall FrameRect 000033CC 4267 clr.w -[A7] 000033CE A889 syscall TextMode 000033D0 302E FFDC move.w D0, [A6 - 0x24] 000033D4 5840 addq.w D0, 4 000033D6 3F00 move.w -[A7], D0 000033D8 3F3C 0136 move.w -[A7], 0x136 000033DC A893 syscall MoveTo 000033DE 486E FFE2 pea.l [A6 - 0x1E] 000033E2 A884 syscall DrawString 000033E4 0C6D 0090 FC20 cmpi.w [A5 - 0x3E0], 0x90 000033EA 6608 bne +0xA /* 000033F4 */ 000033EC 4267 clr.w -[A7] 000033EE 4EBA 1C10 jsr [PC + 0x1C10 /* 00005000 */] 000033F2 548F addq.l A7, 2 label000033F4: 000033F4 4E5E unlink A6 000033F6 4E75 rts 000033F8 5052 addq.w [A2], 8 000033FA 494E chk.w D4, A6 000033FC 5453 addq.w [A3], 2 000033FE 434F chk.w D1, A7 fn00003400: 00003400 4E56 0000 link A6, 0 00003404 302D FC24 move.w D0, [A5 - 0x3DC] 00003408 C1FC 0006 muls.w D0, 0x6 0000340C 41ED F822 lea.l A0, [A5 - 0x7DE] 00003410 D1C0 add.l A0, D0 00003412 30AE 0008 move.w [A0], [A6 + 0x8] 00003416 302D FC24 move.w D0, [A5 - 0x3DC] 0000341A C1FC 0006 muls.w D0, 0x6 0000341E 41ED F822 lea.l A0, [A5 - 0x7DE] 00003422 D1C0 add.l A0, D0 00003424 316E 000A 0002 move.w [A0 + 0x2], [A6 + 0xA] 0000342A 302D FC24 move.w D0, [A5 - 0x3DC] 0000342E C1FC 0006 muls.w D0, 0x6 00003432 41ED F822 lea.l A0, [A5 - 0x7DE] 00003436 D1C0 add.l A0, D0 00003438 43ED ECE2 lea.l A1, [A5 - 0x131E] 0000343C D2EE 0008 add.w A1, [A6 + 0x8] 00003440 1151 0004 move.b [A0 + 0x4], [A1] 00003444 302D FC24 move.w D0, [A5 - 0x3DC] 00003448 C1FC 0006 muls.w D0, 0x6 0000344C 41ED F822 lea.l A0, [A5 - 0x7DE] 00003450 D1C0 add.l A0, D0 00003452 43ED ECE2 lea.l A1, [A5 - 0x131E] 00003456 D2EE 000A add.w A1, [A6 + 0xA] 0000345A 1151 0005 move.b [A0 + 0x5], [A1] 0000345E 526D FC24 addq.w [A5 - 0x3DC], 1 00003462 4E5E unlink A6 00003464 4E75 rts 00003466 5245 addq.w D5, 1 00003468 4749 chk.w D3, A1 0000346A 5354 subq.w [A4], 1 0000346C 4552 chk.w D2, [A2] fn0000346E: 0000346E 4E56 FFF4 link A6, -0x000C 00003472 2F03 move.l -[A7], D3 00003474 302E 000C move.w D0, [A6 + 0xC] 00003478 7209 moveq.l D1, 0x09 0000347A E368 lsl D0.w, D1 0000347C 322E 000A move.w D1, [A6 + 0xA] 00003480 EB49 lsl D1.w, 5 00003482 D041 add.w D0, D1 00003484 D06E 0008 add.w D0, [A6 + 0x8] 00003488 3D40 FFF6 move.w [A6 - 0xA], D0 0000348C 41ED ECE2 lea.l A0, [A5 - 0x131E] 00003490 D0EE FFF6 add.w A0, [A6 - 0xA] 00003494 7000 moveq.l D0, 0x00 00003496 1010 move.b D0, [A0] 00003498 4840 swap.w D0 0000349A 4240 clr.w D0 0000349C 4840 swap.w D0 0000349E 80FC 0024 divu.w D0, 0x24 /* '$' */ 000034A2 4840 swap.w D0 000034A4 3D40 FFF4 move.w [A6 - 0xC], D0 000034A8 3F2E FFF6 move.w -[A7], [A6 - 0xA] 000034AC 4EBA F9E6 jsr [PC - 0x61A /* 00002E94 */] 000034B0 548F addq.l A7, 2 000034B2 4A40 tst.w D0 000034B4 6700 0106 beq +0x108 /* 000035BC */ 000034B8 3F2E 000C move.w -[A7], [A6 + 0xC] 000034BC 3F2E 000A move.w -[A7], [A6 + 0xA] 000034C0 3F2E 0008 move.w -[A7], [A6 + 0x8] 000034C4 4EBA 0104 jsr [PC + 0x104 /* 000035CA */] 000034C8 5C8F addq.l A7, 6 000034CA 0C6D FFFF FC1E cmpi.w [A5 - 0x3E2], 0xFFFF 000034D0 6618 bne +0x1A /* 000034EA */ 000034D2 3B6E FFF6 FC1E move.w [A5 - 0x3E2], [A6 - 0xA] 000034D8 3F2E FFF4 move.w -[A7], [A6 - 0xC] 000034DC 4EBA 1468 jsr [PC + 0x1468 /* 00004946 */] 000034E0 548F addq.l A7, 2 000034E2 4EBA F8F0 jsr [PC - 0x710 /* 00002DD4 */] 000034E6 6000 00D4 bra +0xD6 /* 000035BC */ label000034EA: 000034EA 302D FC1E move.w D0, [A5 - 0x3E2] 000034EE B06E FFF6 cmp.w D0, [A6 - 0xA] 000034F2 6612 bne +0x14 /* 00003506 */ 000034F4 70FF moveq.l D0, 0xFFFFFFFF 000034F6 3B40 FC1E move.w [A5 - 0x3E2], D0 000034FA 4EBA 14CE jsr [PC + 0x14CE /* 000049CA */] 000034FE 4EBA F8D4 jsr [PC - 0x72C /* 00002DD4 */] 00003502 6000 00B8 bra +0xBA /* 000035BC */ label00003506: 00003506 4A6D FBE0 tst.w [A5 - 0x420] 0000350A 6634 bne +0x36 /* 00003540 */ 0000350C 41ED ECE2 lea.l A0, [A5 - 0x131E] 00003510 D0EE FFF6 add.w A0, [A6 - 0xA] 00003514 7000 moveq.l D0, 0x00 00003516 1010 move.b D0, [A0] 00003518 4840 swap.w D0 0000351A 4240 clr.w D0 0000351C 4840 swap.w D0 0000351E 80FC 0024 divu.w D0, 0x24 /* '$' */ 00003522 4840 swap.w D0 00003524 41ED ECE2 lea.l A0, [A5 - 0x131E] 00003528 D0ED FC1E add.w A0, [A5 - 0x3E2] 0000352C 7200 moveq.l D1, 0x00 0000352E 1210 move.b D1, [A0] 00003530 4841 swap.w D1 00003532 4241 clr.w D1 00003534 4841 swap.w D1 00003536 82FC 0024 divu.w D1, 0x24 /* '$' */ 0000353A 4841 swap.w D1 0000353C B041 cmp.w D0, D1 0000353E 6644 bne +0x46 /* 00003584 */ label00003540: 00003540 3F2E FFF4 move.w -[A7], [A6 - 0xC] 00003544 4EBA 1890 jsr [PC + 0x1890 /* 00004DD6 */] 00003548 548F addq.l A7, 2 0000354A 3F2E FFF6 move.w -[A7], [A6 - 0xA] 0000354E 3F2D FC1E move.w -[A7], [A5 - 0x3E2] 00003552 4EBA FEAC jsr [PC - 0x154 /* 00003400 */] 00003556 588F addq.l A7, 4 00003558 3F2D FC1E move.w -[A7], [A5 - 0x3E2] 0000355C 4EBA FB5A jsr [PC - 0x4A6 /* 000030B8 */] 00003560 548F addq.l A7, 2 00003562 3F2E FFF6 move.w -[A7], [A6 - 0xA] 00003566 4EBA FB50 jsr [PC - 0x4B0 /* 000030B8 */] 0000356A 548F addq.l A7, 2 0000356C 546D FC20 addq.w [A5 - 0x3E0], 2 00003570 4EBA FDE8 jsr [PC - 0x218 /* 0000335A */] 00003574 4EBA 1454 jsr [PC + 0x1454 /* 000049CA */] 00003578 4EBA F85A jsr [PC - 0x7A6 /* 00002DD4 */] 0000357C 70FF moveq.l D0, 0xFFFFFFFF 0000357E 3B40 FC1E move.w [A5 - 0x3E2], D0 00003582 6038 bra +0x3A /* 000035BC */ label00003584: 00003584 4EBA 1444 jsr [PC + 0x1444 /* 000049CA */] 00003588 3F2E FFF4 move.w -[A7], [A6 - 0xC] 0000358C 4EBA 13B8 jsr [PC + 0x13B8 /* 00004946 */] 00003590 548F addq.l A7, 2 00003592 701F moveq.l D0, 0x1F 00003594 C06D FC1E and.w D0, [A5 - 0x3E2] 00003598 323C 01FF move.w D1, 0x1FF 0000359C C26D FC1E and.w D1, [A5 - 0x3E2] 000035A0 EA49 lsr D1.w, 5 000035A2 342D FC1E move.w D2, [A5 - 0x3E2] 000035A6 7609 moveq.l D3, 0x09 000035A8 E662 asr D2.w, D3 000035AA 3F02 move.w -[A7], D2 000035AC 3F01 move.w -[A7], D1 000035AE 3F00 move.w -[A7], D0 000035B0 4EBA 0018 jsr [PC + 0x18 /* 000035CA */] 000035B4 5C8F addq.l A7, 6 000035B6 3B6E FFF6 FC1E move.w [A5 - 0x3E2], [A6 - 0xA] label000035BC: 000035BC 261F move.l D3, [A7]+ 000035BE 4E5E unlink A6 000035C0 4E75 rts 000035C2 464F not.w A7 000035C4 554E subq.w A6, 2 000035C6 4454 neg.w [A4] 000035C8 494C chk.w D4, A4 fn000035CA: 000035CA 4E56 FFF6 link A6, -0x000A 000035CE 2F03 move.l -[A7], D3 000035D0 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 000035D4 A873 syscall SetPort 000035D6 2F2D FBFE move.l -[A7], [A5 - 0x402] 000035DA 486D FB40 pea.l [A5 - 0x4C0] 000035DE A8DF syscall RectRgn 000035E0 302E 000C move.w D0, [A6 + 0xC] 000035E4 5240 addq.w D0, 1 000035E6 3D40 FFF6 move.w [A6 - 0xA], D0 000035EA 601E bra +0x20 /* 0000360A */ label000035EC: 000035EC 302E FFF6 move.w D0, [A6 - 0xA] 000035F0 48C0 ext.l D0 000035F2 E580 asl D0, 2 000035F4 41ED FBE2 lea.l A0, [A5 - 0x41E] 000035F8 D1C0 add.l A0, D0 000035FA 2F10 move.l -[A7], [A0] 000035FC 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003600 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003604 A8E4 syscall SectRgn 00003606 526E FFF6 addq.w [A6 - 0xA], 1 label0000360A: 0000360A 0C6E 0005 FFF6 cmpi.w [A6 - 0xA], 0x5 00003610 6DDA blt -0x24 /* 000035EC */ 00003612 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003616 A879 syscall SetClip 00003618 302E 0008 move.w D0, [A6 + 0x8] 0000361C E940 asl D0.w, 4 0000361E 322E 000A move.w D1, [A6 + 0xA] 00003622 E941 asl D1.w, 4 00003624 342E 0008 move.w D2, [A6 + 0x8] 00003628 E942 asl D2.w, 4 0000362A 362E 000A move.w D3, [A6 + 0xA] 0000362E E943 asl D3.w, 4 00003630 486E FFF8 pea.l [A6 - 0x8] 00003634 3F00 move.w -[A7], D0 00003636 0641 0020 addi.w D1, 0x20 /* ' ' */ 0000363A 3F01 move.w -[A7], D1 0000363C 0642 0020 addi.w D2, 0x20 /* ' ' */ 00003640 3F02 move.w -[A7], D2 00003642 0643 0040 addi.w D3, 0x40 /* '@' */ 00003646 3F03 move.w -[A7], D3 00003648 A8A7 syscall SetRect 0000364A 302E 000C move.w D0, [A6 + 0xC] 0000364E C1FC FFFB muls.w D0, 0xFFFB 00003652 322E 000C move.w D1, [A6 + 0xC] 00003656 C3FC FFFB muls.w D1, 0xFFFB 0000365A 486E FFF8 pea.l [A6 - 0x8] 0000365E 3F00 move.w -[A7], D0 00003660 3F01 move.w -[A7], D1 00003662 A8A8 syscall OffsetRect 00003664 486E FFF8 pea.l [A6 - 0x8] 00003668 A8A4 syscall InvertRect 0000366A 4EBA F768 jsr [PC - 0x898 /* 00002DD4 */] 0000366E 261F move.l D3, [A7]+ 00003670 4E5E unlink A6 00003672 4E75 rts 00003674 4849 pea.l A1 00003676 4748 chk.w D3, A0 00003678 4C49 4748 movem.l D3,D6,A0,A1,A2,A6, A1 fn0000367C: 0000367C 4E56 FFF0 link A6, -0x0010 00003680 2F03 move.l -[A7], D3 00003682 426E FFF4 clr.w [A6 - 0xC] 00003686 0C6D FFFF FC1E cmpi.w [A5 - 0x3E2], 0xFFFF 0000368C 6700 015E beq +0x160 /* 000037EC */ 00003690 426E FFFE clr.w [A6 - 0x2] 00003694 6000 007C bra +0x7E /* 00003712 */ label00003698: 00003698 302E FFFE move.w D0, [A6 - 0x2] 0000369C B06D FC1E cmp.w D0, [A5 - 0x3E2] 000036A0 6700 006C beq +0x6E /* 0000370E */ 000036A4 41ED ECE2 lea.l A0, [A5 - 0x131E] 000036A8 D0EE FFFE add.w A0, [A6 - 0x2] 000036AC 7000 moveq.l D0, 0x00 000036AE 1010 move.b D0, [A0] 000036B0 0C40 00A0 cmpi.w D0, 0xA0 000036B4 6758 beq +0x5A /* 0000370E */ 000036B6 3F2E FFFE move.w -[A7], [A6 - 0x2] 000036BA 4EBA F7D8 jsr [PC - 0x828 /* 00002E94 */] 000036BE 548F addq.l A7, 2 000036C0 4A40 tst.w D0 000036C2 674A beq +0x4C /* 0000370E */ 000036C4 41ED ECE2 lea.l A0, [A5 - 0x131E] 000036C8 D0EE FFFE add.w A0, [A6 - 0x2] 000036CC 7000 moveq.l D0, 0x00 000036CE 1010 move.b D0, [A0] 000036D0 4840 swap.w D0 000036D2 4240 clr.w D0 000036D4 4840 swap.w D0 000036D6 80FC 0024 divu.w D0, 0x24 /* '$' */ 000036DA 4840 swap.w D0 000036DC 41ED ECE2 lea.l A0, [A5 - 0x131E] 000036E0 D0ED FC1E add.w A0, [A5 - 0x3E2] 000036E4 7200 moveq.l D1, 0x00 000036E6 1210 move.b D1, [A0] 000036E8 4841 swap.w D1 000036EA 4241 clr.w D1 000036EC 4841 swap.w D1 000036EE 82FC 0024 divu.w D1, 0x24 /* '$' */ 000036F2 4841 swap.w D1 000036F4 B041 cmp.w D0, D1 000036F6 6616 bne +0x18 /* 0000370E */ 000036F8 302E FFF4 move.w D0, [A6 - 0xC] 000036FC 526E FFF4 addq.w [A6 - 0xC], 1 00003700 48C0 ext.l D0 00003702 D080 add.l D0, D0 00003704 D08E add.l D0, A6 00003706 2040 movea.l A0, D0 00003708 316E FFFE FFF6 move.w [A0 - 0xA], [A6 - 0x2] label0000370E: 0000370E 526E FFFE addq.w [A6 - 0x2], 1 label00003712: 00003712 0C6E 0A00 FFFE cmpi.w [A6 - 0x2], 0xA00 /* '\n\0' */ 00003718 6D00 FF7E blt -0x80 /* 00003698 */ 0000371C 4A6E FFF4 tst.w [A6 - 0xC] 00003720 6600 00C0 bne +0xC2 /* 000037E2 */ 00003724 3F3C 0005 move.w -[A7], 0x5 00003728 A9C8 syscall SysBeep 0000372A 6000 00C0 bra +0xC2 /* 000037EC */ label0000372E: 0000372E 426E FFFE clr.w [A6 - 0x2] 00003732 6000 00A2 bra +0xA4 /* 000037D6 */ label00003736: 00003736 302E FFFE move.w D0, [A6 - 0x2] 0000373A 48C0 ext.l D0 0000373C D080 add.l D0, D0 0000373E D08E add.l D0, A6 00003740 2040 movea.l A0, D0 00003742 701F moveq.l D0, 0x1F 00003744 C068 FFF6 and.w D0, [A0 - 0xA] 00003748 322E FFFE move.w D1, [A6 - 0x2] 0000374C 48C1 ext.l D1 0000374E D281 add.l D1, D1 00003750 D28E add.l D1, A6 00003752 2041 movea.l A0, D1 00003754 323C 01FF move.w D1, 0x1FF 00003758 C268 FFF6 and.w D1, [A0 - 0xA] 0000375C EA49 lsr D1.w, 5 0000375E 342E FFFE move.w D2, [A6 - 0x2] 00003762 48C2 ext.l D2 00003764 D482 add.l D2, D2 00003766 D48E add.l D2, A6 00003768 2042 movea.l A0, D2 0000376A 3428 FFF6 move.w D2, [A0 - 0xA] 0000376E 7609 moveq.l D3, 0x09 00003770 E662 asr D2.w, D3 00003772 3F02 move.w -[A7], D2 00003774 3F01 move.w -[A7], D1 00003776 3F00 move.w -[A7], D0 00003778 4EBA FE50 jsr [PC - 0x1B0 /* 000035CA */] 0000377C 5C8F addq.l A7, 6 0000377E 4878 0005 push.l 0x5 00003782 486E FFF0 pea.l [A6 - 0x10] 00003786 4EAD 0142 jsr [A5 + 0x142 /* export_36 */] 0000378A 302E FFFE move.w D0, [A6 - 0x2] 0000378E 48C0 ext.l D0 00003790 D080 add.l D0, D0 00003792 D08E add.l D0, A6 00003794 2040 movea.l A0, D0 00003796 701F moveq.l D0, 0x1F 00003798 C068 FFF6 and.w D0, [A0 - 0xA] 0000379C 322E FFFE move.w D1, [A6 - 0x2] 000037A0 48C1 ext.l D1 000037A2 D281 add.l D1, D1 000037A4 D28E add.l D1, A6 000037A6 2041 movea.l A0, D1 000037A8 323C 01FF move.w D1, 0x1FF 000037AC C268 FFF6 and.w D1, [A0 - 0xA] 000037B0 EA49 lsr D1.w, 5 000037B2 342E FFFE move.w D2, [A6 - 0x2] 000037B6 48C2 ext.l D2 000037B8 D482 add.l D2, D2 000037BA D48E add.l D2, A6 000037BC 2042 movea.l A0, D2 000037BE 3428 FFF6 move.w D2, [A0 - 0xA] 000037C2 7609 moveq.l D3, 0x09 000037C4 E662 asr D2.w, D3 000037C6 3F02 move.w -[A7], D2 000037C8 3F01 move.w -[A7], D1 000037CA 3F00 move.w -[A7], D0 000037CC 4EBA FDFC jsr [PC - 0x204 /* 000035CA */] 000037D0 5C8F addq.l A7, 6 000037D2 526E FFFE addq.w [A6 - 0x2], 1 label000037D6: 000037D6 302E FFFE move.w D0, [A6 - 0x2] 000037DA B06E FFF4 cmp.w D0, [A6 - 0xC] 000037DE 6D00 FF56 blt -0xA8 /* 00003736 */ label000037E2: 000037E2 4EBA CE8A jsr [PC - 0x3176 /* 0000066E */] 000037E6 4A40 tst.w D0 000037E8 6700 FF44 beq -0xBA /* 0000372E */ label000037EC: 000037EC 261F move.l D3, [A7]+ 000037EE 4E5E unlink A6 000037F0 4E75 rts 000037F2 5348 subq.w A0, 1 000037F4 4F57 chk.w D7, [A7] 000037F6 4D41 chk.w D6, D1 000037F8 5443 addq.w D3, 2 000037FA 4E56 FFFA link A6, -0x0006 000037FE 426E FFFE clr.w [A6 - 0x2] 00003802 426E FFFE clr.w [A6 - 0x2] 00003806 6000 0066 bra +0x68 /* 0000386E */ label0000380A: 0000380A 3F2E FFFE move.w -[A7], [A6 - 0x2] 0000380E 4879 0000 01EC push.l 0x1EC 00003814 4EBA ED24 jsr [PC - 0x12DC /* 0000253A */] 00003818 5C8F addq.l A7, 6 0000381A 4EBA F5B8 jsr [PC - 0xA48 /* 00002DD4 */] 0000381E 2F2D FB3C move.l -[A7], [A5 - 0x4C4] 00003822 A873 syscall SetPort 00003824 603C bra +0x3E /* 00003862 */ label00003826: 00003826 302E FFFE move.w D0, [A6 - 0x2] 0000382A 48C0 ext.l D0 0000382C E580 asl D0, 2 0000382E 41ED FBE2 lea.l A0, [A5 - 0x41E] 00003832 D1C0 add.l A0, D0 00003834 2F10 move.l -[A7], [A0] 00003836 A8D5 syscall InverRgn/InvertRgn 00003838 4878 000A push.l 0xA /* '\n' */ 0000383C 486E FFFA pea.l [A6 - 0x6] 00003840 4EAD 0142 jsr [A5 + 0x142 /* export_36 */] 00003844 302E FFFE move.w D0, [A6 - 0x2] 00003848 48C0 ext.l D0 0000384A E580 asl D0, 2 0000384C 41ED FBE2 lea.l A0, [A5 - 0x41E] 00003850 D1C0 add.l A0, D0 00003852 2F10 move.l -[A7], [A0] 00003854 A8D5 syscall InverRgn/InvertRgn 00003856 4878 000A push.l 0xA /* '\n' */ 0000385A 486E FFFA pea.l [A6 - 0x6] 0000385E 4EAD 0142 jsr [A5 + 0x142 /* export_36 */] label00003862: 00003862 4EBA CE0A jsr [PC - 0x31F6 /* 0000066E */] 00003866 4A40 tst.w D0 00003868 67BC beq -0x42 /* 00003826 */ 0000386A 526E FFFE addq.w [A6 - 0x2], 1 label0000386E: 0000386E 0C6E 0005 FFFE cmpi.w [A6 - 0x2], 0x5 00003874 6D94 blt -0x6A /* 0000380A */ 00003876 4E5E unlink A6 00003878 4E75 rts 0000387A 4445 neg.w D5 0000387C 4255 clr.w [A5] 0000387E 4746 chk.w D3, D6 00003880 554E subq.w A6, 2 00003882 4E56 FFFC link A6, -0x0004 00003886 2F2D FB3C move.l -[A7], [A5 - 0x4C4] 0000388A A873 syscall SetPort 0000388C 302E 0008 move.w D0, [A6 + 0x8] 00003890 48C0 ext.l D0 00003892 E580 asl D0, 2 00003894 41ED FBE2 lea.l A0, [A5 - 0x41E] 00003898 D1C0 add.l A0, D0 0000389A 7004 moveq.l D0, 0x04 0000389C 906E 0008 sub.w D0, [A6 + 0x8] 000038A0 48C0 ext.l D0 000038A2 E580 asl D0, 2 000038A4 43ED FC02 lea.l A1, [A5 - 0x3FE] 000038A8 D3C0 add.l A1, D0 000038AA 2F10 move.l -[A7], [A0] 000038AC 2F11 move.l -[A7], [A1] 000038AE A8D6 syscall FillRgn label000038B0: 000038B0 4EBA CDBC jsr [PC - 0x3244 /* 0000066E */] 000038B4 4A40 tst.w D0 000038B6 67F8 beq -0x6 /* 000038B0 */ 000038B8 4EBA F51A jsr [PC - 0xAE6 /* 00002DD4 */] 000038BC 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 000038C0 A873 syscall SetPort 000038C2 4E5E unlink A6 000038C4 4E75 rts 000038C6 4445 neg.w D5 000038C8 4255 clr.w [A5] 000038CA 474C chk.w D3, A4 000038CC 4556 chk.w D2, [A6] fn000038CE: 000038CE 4E56 FFF0 link A6, -0x0010 000038D2 598F subq.l A7, 4 000038D4 A8D8 syscall NewRgn 000038D6 205F movea.l A0, [A7]+ 000038D8 2D48 FFF0 move.l [A6 - 0x10], A0 000038DC 701F moveq.l D0, 0x1F 000038DE C06E 0008 and.w D0, [A6 + 0x8] 000038E2 3D40 FFFC move.w [A6 - 0x4], D0 000038E6 303C 01FF move.w D0, 0x1FF 000038EA C06E 0008 and.w D0, [A6 + 0x8] 000038EE EA48 lsr D0.w, 5 000038F0 3D40 FFFA move.w [A6 - 0x6], D0 000038F4 302E 0008 move.w D0, [A6 + 0x8] 000038F8 7209 moveq.l D1, 0x09 000038FA E260 asr D0.w, D1 000038FC 3D40 FFF8 move.w [A6 - 0x8], D0 00003900 486E FFF4 pea.l [A6 - 0xC] 00003904 3F2E 0008 move.w -[A7], [A6 + 0x8] 00003908 4EBA F36C jsr [PC - 0xC94 /* 00002C76 */] 0000390C 5C8F addq.l A7, 6 0000390E 2F2E FFF4 move.l -[A7], [A6 - 0xC] 00003912 4EBA F0F0 jsr [PC - 0xF10 /* 00002A04 */] 00003916 588F addq.l A7, 4 00003918 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 0000391C 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003920 A8DC syscall CopyRgn 00003922 302E FFF8 move.w D0, [A6 - 0x8] 00003926 5240 addq.w D0, 1 00003928 3D40 FFFE move.w [A6 - 0x2], D0 0000392C 601E bra +0x20 /* 0000394C */ label0000392E: 0000392E 302E FFFE move.w D0, [A6 - 0x2] 00003932 48C0 ext.l D0 00003934 E580 asl D0, 2 00003936 41ED FBE2 lea.l A0, [A5 - 0x41E] 0000393A D1C0 add.l A0, D0 0000393C 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003940 2F10 move.l -[A7], [A0] 00003942 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003946 A8E4 syscall SectRgn 00003948 526E FFFE addq.w [A6 - 0x2], 1 label0000394C: 0000394C 0C6E 0005 FFFE cmpi.w [A6 - 0x2], 0x5 00003952 6DDA blt -0x24 /* 0000392E */ 00003954 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003958 2F2E FFF0 move.l -[A7], [A6 - 0x10] 0000395C A8DC syscall CopyRgn 0000395E 302E FFF8 move.w D0, [A6 - 0x8] 00003962 48C0 ext.l D0 00003964 E580 asl D0, 2 00003966 41ED FBE2 lea.l A0, [A5 - 0x41E] 0000396A D1C0 add.l A0, D0 0000396C 2F2E FFF0 move.l -[A7], [A6 - 0x10] 00003970 2F10 move.l -[A7], [A0] 00003972 2F2E FFF0 move.l -[A7], [A6 - 0x10] 00003976 A8E4 syscall SectRgn 00003978 2F2E FFF0 move.l -[A7], [A6 - 0x10] 0000397C 2F2D FBFE move.l -[A7], [A5 - 0x402] 00003980 3F2E 0008 move.w -[A7], [A6 + 0x8] 00003984 7000 moveq.l D0, 0x00 00003986 102E 000B move.b D0, [A6 + 0xB] 0000398A 3F00 move.w -[A7], D0 0000398C 4EBA F386 jsr [PC - 0xC7A /* 00002D14 */] 00003990 4FEF 000C lea.l A7, [A7 + 0xC] 00003994 302E FFF8 move.w D0, [A6 - 0x8] 00003998 48C0 ext.l D0 0000399A E580 asl D0, 2 0000399C 41ED FBE2 lea.l A0, [A5 - 0x41E] 000039A0 D1C0 add.l A0, D0 000039A2 302E FFF8 move.w D0, [A6 - 0x8] 000039A6 48C0 ext.l D0 000039A8 E580 asl D0, 2 000039AA 43ED FBE2 lea.l A1, [A5 - 0x41E] 000039AE D3C0 add.l A1, D0 000039B0 2F10 move.l -[A7], [A0] 000039B2 2F2D FBF6 move.l -[A7], [A5 - 0x40A] 000039B6 2F11 move.l -[A7], [A1] 000039B8 A8E6 syscall DiffRgn 000039BA 41ED ECE2 lea.l A0, [A5 - 0x131E] 000039BE D0EE 0008 add.w A0, [A6 + 0x8] 000039C2 10AE 000B move.b [A0], [A6 + 0xB] 000039C6 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 000039CA A873 syscall SetPort 000039CC 486D FB40 pea.l [A5 - 0x4C0] 000039D0 A87B syscall ClipRect 000039D2 2F2E FFF0 move.l -[A7], [A6 - 0x10] 000039D6 A8D9 syscall DisposRgn/DisposeRgn 000039D8 4E5E unlink A6 000039DA 4E75 rts 000039DC 5055 addq.w [A5], 8 000039DE 5454 addq.w [A4], 2 000039E0 494C chk.w D4, A4 000039E2 4542 chk.w D2, D2 fn000039E4: 000039E4 2F03 move.l -[A7], D3 000039E6 4A6D FC24 tst.w [A5 - 0x3DC] 000039EA 660A bne +0xC /* 000039F6 */ 000039EC 3F3C 0005 move.w -[A7], 0x5 000039F0 A9C8 syscall SysBeep 000039F2 6000 00C6 bra +0xC8 /* 00003ABA */ label000039F6: 000039F6 0C6D FFFF FC1E cmpi.w [A5 - 0x3E2], 0xFFFF 000039FC 672A beq +0x2C /* 00003A28 */ 000039FE 701F moveq.l D0, 0x1F 00003A00 C06D FC1E and.w D0, [A5 - 0x3E2] 00003A04 323C 01FF move.w D1, 0x1FF 00003A08 C26D FC1E and.w D1, [A5 - 0x3E2] 00003A0C EA49 lsr D1.w, 5 00003A0E 342D FC1E move.w D2, [A5 - 0x3E2] 00003A12 7609 moveq.l D3, 0x09 00003A14 E662 asr D2.w, D3 00003A16 3F02 move.w -[A7], D2 00003A18 3F01 move.w -[A7], D1 00003A1A 3F00 move.w -[A7], D0 00003A1C 4EBA FBAC jsr [PC - 0x454 /* 000035CA */] 00003A20 5C8F addq.l A7, 6 00003A22 70FF moveq.l D0, 0xFFFFFFFF 00003A24 3B40 FC1E move.w [A5 - 0x3E2], D0 label00003A28: 00003A28 536D FC24 subq.w [A5 - 0x3DC], 1 00003A2C 302D FC24 move.w D0, [A5 - 0x3DC] 00003A30 C1FC 0006 muls.w D0, 0x6 00003A34 41ED F822 lea.l A0, [A5 - 0x7DE] 00003A38 D1C0 add.l A0, D0 00003A3A 302D FC24 move.w D0, [A5 - 0x3DC] 00003A3E C1FC 0006 muls.w D0, 0x6 00003A42 43ED F822 lea.l A1, [A5 - 0x7DE] 00003A46 D3C0 add.l A1, D0 00003A48 7000 moveq.l D0, 0x00 00003A4A 1029 0004 move.b D0, [A1 + 0x4] 00003A4E 3F00 move.w -[A7], D0 00003A50 3F10 move.w -[A7], [A0] 00003A52 4EBA FE7A jsr [PC - 0x186 /* 000038CE */] 00003A56 588F addq.l A7, 4 00003A58 302D FC24 move.w D0, [A5 - 0x3DC] 00003A5C C1FC 0006 muls.w D0, 0x6 00003A60 41ED F822 lea.l A0, [A5 - 0x7DE] 00003A64 D1C0 add.l A0, D0 00003A66 302D FC24 move.w D0, [A5 - 0x3DC] 00003A6A C1FC 0006 muls.w D0, 0x6 00003A6E 43ED F822 lea.l A1, [A5 - 0x7DE] 00003A72 D3C0 add.l A1, D0 00003A74 7000 moveq.l D0, 0x00 00003A76 1029 0005 move.b D0, [A1 + 0x5] 00003A7A 3F00 move.w -[A7], D0 00003A7C 3F28 0002 move.w -[A7], [A0 + 0x2] 00003A80 4EBA FE4C jsr [PC - 0x1B4 /* 000038CE */] 00003A84 588F addq.l A7, 4 00003A86 302D FC24 move.w D0, [A5 - 0x3DC] 00003A8A C1FC 0006 muls.w D0, 0x6 00003A8E 41ED F822 lea.l A0, [A5 - 0x7DE] 00003A92 D1C0 add.l A0, D0 00003A94 7000 moveq.l D0, 0x00 00003A96 1028 0004 move.b D0, [A0 + 0x4] 00003A9A 4840 swap.w D0 00003A9C 4240 clr.w D0 00003A9E 4840 swap.w D0 00003AA0 80FC 0024 divu.w D0, 0x24 /* '$' */ 00003AA4 4840 swap.w D0 00003AA6 3F00 move.w -[A7], D0 00003AA8 4EBA 1356 jsr [PC + 0x1356 /* 00004E00 */] 00003AAC 548F addq.l A7, 2 00003AAE 556D FC20 subq.w [A5 - 0x3E0], 2 00003AB2 4EBA F8A6 jsr [PC - 0x75A /* 0000335A */] 00003AB6 4EBA F31C jsr [PC - 0xCE4 /* 00002DD4 */] label00003ABA: 00003ABA 261F move.l D3, [A7]+ 00003ABC 4E75 rts fn00003ABE: 00003ABE 6004 bra +0x6 /* 00003AC4 */ label00003AC0: 00003AC0 4EBA FF22 jsr [PC - 0xDE /* 000039E4 */] label00003AC4: 00003AC4 4A6D FC24 tst.w [A5 - 0x3DC] 00003AC8 66F6 bne -0x8 /* 00003AC0 */ 00003ACA 4E75 rts fn00003ACC: 00003ACC 4EBA 1272 jsr [PC + 0x1272 /* 00004D40 */] 00003AD0 2F2D FB3C move.l -[A7], [A5 - 0x4C4] 00003AD4 A873 syscall SetPort 00003AD6 206D FB3C movea.l A0, [A5 - 0x4C4] 00003ADA 4868 0010 pea.l [A0 + 0x10] 00003ADE A8A3 syscall EraseRect 00003AE0 206D FB3C movea.l A0, [A5 - 0x4C4] 00003AE4 4868 0010 pea.l [A0 + 0x10] 00003AE8 3F3C 012D move.w -[A7], 0x12D 00003AEC 4EBA EC56 jsr [PC - 0x13AA /* 00002744 */] 00003AF0 5C8F addq.l A7, 6 00003AF2 4EBA EF86 jsr [PC - 0x107A /* 00002A7A */] 00003AF6 4EBA EFB0 jsr [PC - 0x1050 /* 00002AA8 */] 00003AFA 4E75 rts fn00003AFC: 00003AFC 4E56 FF96 link A6, -0x006A 00003B00 426E FFEA clr.w [A6 - 0x16] 00003B04 598F subq.l A7, 4 00003B06 42A7 clr.l -[A7] 00003B08 4EAD 0112 jsr [A5 + 0x112 /* export_30 */] 00003B0C 205F movea.l A0, [A7]+ 00003B0E 2D48 FFFC move.l [A6 - 0x4], A0 00003B12 598F subq.l A7, 4 00003B14 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003B18 4879 5049 4354 push.l 0x50494354 /* 'PICT' */ 00003B1E 486E FFF8 pea.l [A6 - 0x8] 00003B22 A9FD syscall GetScrap 00003B24 201F move.l D0, [A7]+ 00003B26 4A80 tst.l D0 00003B28 6618 bne +0x1A /* 00003B42 */ 00003B2A 4879 0000 0204 push.l 0x204 00003B30 4EBA EA08 jsr [PC - 0x15F8 /* 0000253A */] 00003B34 588F addq.l A7, 4 00003B36 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003B3A 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003B3E 6000 015A bra +0x15C /* 00003C9A */ label00003B42: 00003B42 206E FFFC movea.l A0, [A6 - 0x4] 00003B46 2050 movea.l A0, [A0] 00003B48 43EE FFF0 lea.l A1, [A6 - 0x10] 00003B4C 5488 addq.l A0, 2 00003B4E 22D8 move.l [A1]+, [A0]+ 00003B50 22D8 move.l [A1]+, [A0]+ 00003B52 302E FFF6 move.w D0, [A6 - 0xA] 00003B56 906E FFF2 sub.w D0, [A6 - 0xE] 00003B5A 0C40 00C0 cmpi.w D0, 0xC0 00003B5E 660E bne +0x10 /* 00003B6E */ 00003B60 302E FFF4 move.w D0, [A6 - 0xC] 00003B64 906E FFF0 sub.w D0, [A6 - 0x10] 00003B68 0C40 00C0 cmpi.w D0, 0xC0 00003B6C 6718 beq +0x1A /* 00003B86 */ label00003B6E: 00003B6E 4879 0000 0234 push.l 0x234 00003B74 4EBA E9C4 jsr [PC - 0x163C /* 0000253A */] 00003B78 588F addq.l A7, 4 00003B7A 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003B7E 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003B82 6000 0116 bra +0x118 /* 00003C9A */ label00003B86: 00003B86 4879 0000 0272 push.l 0x272 00003B8C 4EBA 040C jsr [PC + 0x40C /* 00003F9A */] 00003B90 588F addq.l A7, 4 00003B92 2D40 FFEC move.l [A6 - 0x14], D0 00003B96 4A80 tst.l D0 00003B98 660C bne +0xE /* 00003BA6 */ 00003B9A 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003B9E 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003BA2 6000 00F6 bra +0xF8 /* 00003C9A */ label00003BA6: 00003BA6 2F2E FFEC move.l -[A7], [A6 - 0x14] 00003BAA 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00003BAE 588F addq.l A7, 4 00003BB0 598F subq.l A7, 4 00003BB2 4879 6D23 5453 push.l 0x6D235453 /* 'm#TS' */ 00003BB8 2F2E FFEC move.l -[A7], [A6 - 0x14] 00003BBC A9A1 syscall GetNamedResource 00003BBE 205F movea.l A0, [A7]+ 00003BC0 2D48 FFE6 move.l [A6 - 0x1A], A0 00003BC4 B0FC 0000 cmpa.w A0, 0x0 00003BC8 6700 0090 beq +0x92 /* 00003C5A */ 00003BCC 2F2E FFE6 move.l -[A7], [A6 - 0x1A] 00003BD0 4EBA EACE jsr [PC - 0x1532 /* 000026A0 */] 00003BD4 588F addq.l A7, 4 00003BD6 0C40 0080 cmpi.w D0, 0x80 00003BDA 6C1E bge +0x20 /* 00003BFA */ 00003BDC 4879 0000 0286 push.l 0x286 00003BE2 4EBA E956 jsr [PC - 0x16AA /* 0000253A */] 00003BE6 588F addq.l A7, 4 00003BE8 2F2E FFE6 move.l -[A7], [A6 - 0x1A] 00003BEC A9A3 syscall ReleaseResource 00003BEE 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003BF2 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003BF6 6000 00A2 bra +0xA4 /* 00003C9A */ label00003BFA: 00003BFA 2F2E FFEC move.l -[A7], [A6 - 0x14] 00003BFE 486E FF96 pea.l [A6 - 0x6A] 00003C02 4EBA EC98 jsr [PC - 0x1368 /* 0000289C */] 00003C06 508F addq.l A7, 8 00003C08 486E FF96 pea.l [A6 - 0x6A] 00003C0C 4EAD 0172 jsr [A5 + 0x172 /* export_42 */] 00003C10 588F addq.l A7, 4 00003C12 486E FF96 pea.l [A6 - 0x6A] 00003C16 4879 0000 02CC push.l 0x2CC 00003C1C 4EBA E9AE jsr [PC - 0x1652 /* 000025CC */] 00003C20 508F addq.l A7, 8 00003C22 4A40 tst.w D0 00003C24 6612 bne +0x14 /* 00003C38 */ 00003C26 2F2E FFE6 move.l -[A7], [A6 - 0x1A] 00003C2A A9A3 syscall ReleaseResource 00003C2C 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003C30 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003C34 6000 0064 bra +0x66 /* 00003C9A */ label00003C38: 00003C38 2F2E FFEC move.l -[A7], [A6 - 0x14] 00003C3C 4EBA 01B2 jsr [PC + 0x1B2 /* 00003DF0 */] 00003C40 588F addq.l A7, 4 00003C42 2F2E FFE6 move.l -[A7], [A6 - 0x1A] 00003C46 A9A3 syscall ReleaseResource 00003C48 6010 bra +0x12 /* 00003C5A */ label00003C4A: 00003C4A 558F subq.l A7, 2 00003C4C 4879 6D23 5453 push.l 0x6D235453 /* 'm#TS' */ 00003C52 A9C1 syscall UniqueID 00003C54 301F move.w D0, [A7]+ 00003C56 3D40 FFEA move.w [A6 - 0x16], D0 label00003C5A: 00003C5A 0C6E 0080 FFEA cmpi.w [A6 - 0x16], 0x80 00003C60 6DE8 blt -0x16 /* 00003C4A */ 00003C62 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003C66 4879 6D23 5453 push.l 0x6D235453 /* 'm#TS' */ 00003C6C 3F2E FFEA move.w -[A7], [A6 - 0x16] 00003C70 2F2E FFEC move.l -[A7], [A6 - 0x14] 00003C74 A9AB syscall AddResource 00003C76 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003C7A A9B0 syscall WriteResource 00003C7C 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003C80 A9A3 syscall ReleaseResource 00003C82 2F2E FFEC move.l -[A7], [A6 - 0x14] 00003C86 3F2E FFEA move.w -[A7], [A6 - 0x16] 00003C8A 4EBA 0BA8 jsr [PC + 0xBA8 /* 00004834 */] 00003C8E 5C8F addq.l A7, 6 00003C90 2F2E FFEC move.l -[A7], [A6 - 0x14] 00003C94 4EBA D1DC jsr [PC - 0x2E24 /* 00000E72 */] 00003C98 588F addq.l A7, 4 label00003C9A: 00003C9A 4E5E unlink A6 00003C9C 4E75 rts 00003C9E 5041 addq.w D1, 8 00003CA0 5354 subq.w [A4], 1 00003CA2 4554 chk.w D2, [A4] 00003CA4 494C chk.w D4, A4 fn00003CA6: 00003CA6 4E56 FFF0 link A6, -0x0010 00003CAA 598F subq.l A7, 4 00003CAC 42A7 clr.l -[A7] 00003CAE 4EAD 0112 jsr [A5 + 0x112 /* export_30 */] 00003CB2 205F movea.l A0, [A7]+ 00003CB4 2D48 FFFC move.l [A6 - 0x4], A0 00003CB8 598F subq.l A7, 4 00003CBA 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003CBE 4879 5049 4354 push.l 0x50494354 /* 'PICT' */ 00003CC4 486E FFF8 pea.l [A6 - 0x8] 00003CC8 A9FD syscall GetScrap 00003CCA 201F move.l D0, [A7]+ 00003CCC 4A80 tst.l D0 00003CCE 661A bne +0x1C /* 00003CEA */ 00003CD0 4879 0000 02FE push.l 0x2FE 00003CD6 4EBA E862 jsr [PC - 0x179E /* 0000253A */] 00003CDA 588F addq.l A7, 4 00003CDC 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003CE0 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003CE4 7000 moveq.l D0, 0x00 00003CE6 6000 0090 bra +0x92 /* 00003D78 */ label00003CEA: 00003CEA 206E FFFC movea.l A0, [A6 - 0x4] 00003CEE 2050 movea.l A0, [A0] 00003CF0 43EE FFF0 lea.l A1, [A6 - 0x10] 00003CF4 5488 addq.l A0, 2 00003CF6 22D8 move.l [A1]+, [A0]+ 00003CF8 22D8 move.l [A1]+, [A0]+ 00003CFA 302E FFF6 move.w D0, [A6 - 0xA] 00003CFE 906E FFF2 sub.w D0, [A6 - 0xE] 00003D02 0C40 0200 cmpi.w D0, 0x200 00003D06 660E bne +0x10 /* 00003D16 */ 00003D08 302E FFF4 move.w D0, [A6 - 0xC] 00003D0C 906E FFF0 sub.w D0, [A6 - 0x10] 00003D10 0C40 0140 cmpi.w D0, 0x140 00003D14 671C beq +0x1E /* 00003D32 */ label00003D16: 00003D16 4879 0000 032E push.l 0x32E 00003D1C 4EBA E8AE jsr [PC - 0x1752 /* 000025CC */] 00003D20 588F addq.l A7, 4 00003D22 4A40 tst.w D0 00003D24 660C bne +0xE /* 00003D32 */ 00003D26 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003D2A 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003D2E 7000 moveq.l D0, 0x00 00003D30 6046 bra +0x48 /* 00003D78 */ label00003D32: 00003D32 558F subq.l A7, 2 00003D34 4879 6D23 4250 push.l 0x6D234250 /* 'm#BP' */ 00003D3A A9C1 syscall UniqueID 00003D3C 301F move.w D0, [A7]+ 00003D3E 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003D42 4879 6D23 4250 push.l 0x6D234250 /* 'm#BP' */ 00003D48 3F00 move.w -[A7], D0 00003D4A 2F2E 0008 move.l -[A7], [A6 + 0x8] 00003D4E A9AB syscall AddResource 00003D50 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003D54 A9B0 syscall WriteResource 00003D56 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003D5A A9A3 syscall ReleaseResource 00003D5C 4267 clr.w -[A7] 00003D5E 4267 clr.w -[A7] 00003D60 4879 6D23 4250 push.l 0x6D234250 /* 'm#BP' */ 00003D66 2F2E 0008 move.l -[A7], [A6 + 0x8] 00003D6A 2F2D FB38 move.l -[A7], [A5 - 0x4C8] 00003D6E 4EBA E956 jsr [PC - 0x16AA /* 000026C6 */] 00003D72 4FEF 0010 lea.l A7, [A7 + 0x10] 00003D76 7001 moveq.l D0, 0x01 label00003D78: 00003D78 4E5E unlink A6 00003D7A 4E75 rts 00003D7C 5041 addq.w D1, 8 00003D7E 5354 subq.w [A4], 1 00003D80 4542 chk.w D2, D2 00003D82 4143 chk.w D0, D3 00003D84 4E56 FFFC link A6, -0x0004 00003D88 598F subq.l A7, 4 00003D8A 4879 5049 4354 push.l 0x50494354 /* 'PICT' */ 00003D90 3F3C 012C move.w -[A7], 0x12C 00003D94 A9A0 syscall GetResource 00003D96 205F movea.l A0, [A7]+ 00003D98 2D48 FFFC move.l [A6 - 0x4], A0 00003D9C 4AAE FFFC tst.l [A6 - 0x4] 00003DA0 660E bne +0x10 /* 00003DB0 */ 00003DA2 4879 0000 0372 push.l 0x372 00003DA8 4EBA E790 jsr [PC - 0x1870 /* 0000253A */] 00003DAC 588F addq.l A7, 4 00003DAE 6034 bra +0x36 /* 00003DE4 */ label00003DB0: 00003DB0 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003DB4 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00003DB8 598F subq.l A7, 4 00003DBA A9FC syscall ZeroScrap 00003DBC 201F move.l D0, [A7]+ 00003DBE 598F subq.l A7, 4 00003DC0 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003DC4 4EAD 0122 jsr [A5 + 0x122 /* export_32 */] 00003DC8 201F move.l D0, [A7]+ 00003DCA 598F subq.l A7, 4 00003DCC 2F00 move.l -[A7], D0 00003DCE 4879 5049 4354 push.l 0x50494354 /* 'PICT' */ 00003DD4 206E FFFC movea.l A0, [A6 - 0x4] 00003DD8 2F10 move.l -[A7], [A0] 00003DDA A9FE syscall PutScrap 00003DDC 201F move.l D0, [A7]+ 00003DDE 2F2E FFFC move.l -[A7], [A6 - 0x4] 00003DE2 A9A3 syscall ReleaseResource label00003DE4: 00003DE4 4E5E unlink A6 00003DE6 4E75 rts 00003DE8 434F chk.w D1, A7 00003DEA 5059 addq.w [A1]+, 8 00003DEC 5449 addq.w A1, 2 00003DEE 4C45 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, D5 // begin alternate branch 00003DF0-00003DF4 fn00003DF0: 00003DF0 4E56 FFFA link A6, -0x0006 // end alternate branch 00003DF0-00003DF4 fn00003DF0: // (misaligned) 00003DF2 FFFA .invalid <> 00003DF4 598F subq.l A7, 4 00003DF6 4879 6D23 5453 push.l 0x6D235453 /* 'm#TS' */ 00003DFC 2F2E 0008 move.l -[A7], [A6 + 0x8] 00003E00 A9A1 syscall GetNamedResource 00003E02 205F movea.l A0, [A7]+ 00003E04 2D48 FFFA move.l [A6 - 0x6], A0 00003E08 558F subq.l A7, 2 00003E0A 2F2E FFFA move.l -[A7], [A6 - 0x6] 00003E0E A9A4 syscall HomeResFile 00003E10 301F move.w D0, [A7]+ 00003E12 3D40 FFFE move.w [A6 - 0x2], D0 00003E16 2F2E FFFA move.l -[A7], [A6 - 0x6] 00003E1A A9AD syscall RemoveResource/RmveResource 00003E1C 3F2E FFFE move.w -[A7], [A6 - 0x2] 00003E20 A999 syscall UpdateResFile 00003E22 2F2E FFFA move.l -[A7], [A6 - 0x6] 00003E26 4EAD 011A jsr [A5 + 0x11A /* export_31 */] 00003E2A 4EBA D074 jsr [PC - 0x2F8C /* 00000EA0 */] 00003E2E 598F subq.l A7, 4 00003E30 4879 6D23 4250 push.l 0x6D234250 /* 'm#BP' */ 00003E36 2F2E 0008 move.l -[A7], [A6 + 0x8] 00003E3A A9A1 syscall GetNamedResource 00003E3C 205F movea.l A0, [A7]+ 00003E3E 2D48 FFFA move.l [A6 - 0x6], A0 00003E42 4AAE FFFA tst.l [A6 - 0x6] 00003E46 6722 beq +0x24 /* 00003E6A */ 00003E48 558F subq.l A7, 2 00003E4A 2F2E FFFA move.l -[A7], [A6 - 0x6] 00003E4E A9A4 syscall HomeResFile 00003E50 301F move.w D0, [A7]+ 00003E52 3D40 FFFE move.w [A6 - 0x2], D0 00003E56 2F2E FFFA move.l -[A7], [A6 - 0x6] 00003E5A A9AD syscall RemoveResource/RmveResource 00003E5C 3F2E FFFE move.w -[A7], [A6 - 0x2] 00003E60 A999 syscall UpdateResFile 00003E62 2F2E FFFA move.l -[A7], [A6 - 0x6] 00003E66 4EAD 011A jsr [A5 + 0x11A /* export_31 */] label00003E6A: 00003E6A 4E5E unlink A6 00003E6C 4E75 rts 00003E6E 5452 addq.w [A2], 2 00003E70 5952 subq.w [A2], 4 00003E72 454D chk.w D2, A5 00003E74 4F56 chk.w D7, [A6] fn00003E76: 00003E76 4E56 FFB2 link A6, -0x004E 00003E7A 426E FFFC clr.w [A6 - 0x4] 00003E7E 426E FFFE clr.w [A6 - 0x2] 00003E82 6014 bra +0x16 /* 00003E98 */ label00003E84: 00003E84 302E FFFE move.w D0, [A6 - 0x2] 00003E88 48C0 ext.l D0 00003E8A D080 add.l D0, D0 00003E8C D08E add.l D0, A6 00003E8E 2040 movea.l A0, D0 00003E90 4268 FFB2 clr.w [A0 - 0x4E] 00003E94 526E FFFE addq.w [A6 - 0x2], 1 label00003E98: 00003E98 0C6E 0024 FFFE cmpi.w [A6 - 0x2], 0x24 /* '$' */ 00003E9E 6DE4 blt -0x1A /* 00003E84 */ 00003EA0 426E FFFE clr.w [A6 - 0x2] 00003EA4 604C bra +0x4E /* 00003EF2 */ label00003EA6: 00003EA6 41ED ECE2 lea.l A0, [A5 - 0x131E] 00003EAA D0EE FFFE add.w A0, [A6 - 0x2] 00003EAE 7000 moveq.l D0, 0x00 00003EB0 1010 move.b D0, [A0] 00003EB2 0C40 00A0 cmpi.w D0, 0xA0 00003EB6 6736 beq +0x38 /* 00003EEE */ 00003EB8 3F2E FFFE move.w -[A7], [A6 - 0x2] 00003EBC 4EBA EFD6 jsr [PC - 0x102A /* 00002E94 */] 00003EC0 548F addq.l A7, 2 00003EC2 4A40 tst.w D0 00003EC4 6728 beq +0x2A /* 00003EEE */ 00003EC6 41ED ECE2 lea.l A0, [A5 - 0x131E] 00003ECA D0EE FFFE add.w A0, [A6 - 0x2] 00003ECE 7000 moveq.l D0, 0x00 00003ED0 1010 move.b D0, [A0] 00003ED2 4840 swap.w D0 00003ED4 4240 clr.w D0 00003ED6 4840 swap.w D0 00003ED8 80FC 0024 divu.w D0, 0x24 /* '$' */ 00003EDC 4840 swap.w D0 00003EDE 4840 swap.w D0 00003EE0 4240 clr.w D0 00003EE2 4840 swap.w D0 00003EE4 D080 add.l D0, D0 00003EE6 D08E add.l D0, A6 00003EE8 2040 movea.l A0, D0 00003EEA 5268 FFB2 addq.w [A0 - 0x4E], 1 label00003EEE: 00003EEE 526E FFFE addq.w [A6 - 0x2], 1 label00003EF2: 00003EF2 0C6E 0A00 FFFE cmpi.w [A6 - 0x2], 0xA00 /* '\n\0' */ 00003EF8 6DAC blt -0x52 /* 00003EA6 */ 00003EFA 426E FFFE clr.w [A6 - 0x2] 00003EFE 601C bra +0x1E /* 00003F1C */ label00003F00: 00003F00 302E FFFE move.w D0, [A6 - 0x2] 00003F04 48C0 ext.l D0 00003F06 D080 add.l D0, D0 00003F08 D08E add.l D0, A6 00003F0A 2040 movea.l A0, D0 00003F0C 0C68 0001 FFB2 cmpi.w [A0 - 0x4E], 0x1 00003F12 6F04 ble +0x6 /* 00003F18 */ 00003F14 526E FFFC addq.w [A6 - 0x4], 1 label00003F18: 00003F18 526E FFFE addq.w [A6 - 0x2], 1 label00003F1C: 00003F1C 0C6E 0024 FFFE cmpi.w [A6 - 0x2], 0x24 /* '$' */ 00003F22 6DDC blt -0x22 /* 00003F00 */ 00003F24 206E 0008 movea.l A0, [A6 + 0x8] 00003F28 30AE FFFC move.w [A0], [A6 - 0x4] 00003F2C 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1 00003F32 6F46 ble +0x48 /* 00003F7A */ 00003F34 3F2E FFFC move.w -[A7], [A6 - 0x4] 00003F38 4EBA C83E jsr [PC - 0x37C2 /* 00000778 */] 00003F3C 548F addq.l A7, 2 00003F3E 5240 addq.w D0, 1 00003F40 3D40 FFFA move.w [A6 - 0x6], D0 00003F44 426E FFFE clr.w [A6 - 0x2] 00003F48 601C bra +0x1E /* 00003F66 */ label00003F4A: 00003F4A 302E FFFE move.w D0, [A6 - 0x2] 00003F4E 48C0 ext.l D0 00003F50 D080 add.l D0, D0 00003F52 D08E add.l D0, A6 00003F54 2040 movea.l A0, D0 00003F56 0C68 0001 FFB2 cmpi.w [A0 - 0x4E], 0x1 00003F5C 6F04 ble +0x6 /* 00003F62 */ 00003F5E 536E FFFA subq.w [A6 - 0x6], 1 label00003F62: 00003F62 526E FFFE addq.w [A6 - 0x2], 1 label00003F66: 00003F66 4A6E FFFA tst.w [A6 - 0x6] 00003F6A 66DE bne -0x20 /* 00003F4A */ 00003F6C 302E FFFE move.w D0, [A6 - 0x2] 00003F70 5340 subq.w D0, 1 00003F72 206E 000C movea.l A0, [A6 + 0xC] 00003F76 3080 move.w [A0], D0 00003F78 6008 bra +0xA /* 00003F82 */ label00003F7A: 00003F7A 206E 000C movea.l A0, [A6 + 0xC] 00003F7E 70FF moveq.l D0, 0xFFFFFFFF 00003F80 3080 move.w [A0], D0 label00003F82: 00003F82 4E5E unlink A6 00003F84 4E75 rts 00003F86 4749 chk.w D3, A1 00003F88 5645 addq.w D5, 3 00003F8A 4849 pea.l A1 00003F8C 4E54 3F3C link A4, -0xFFFFC0C4 00003F90 012C 4EBA btst [A4 + 0x4EBA], D0 00003F94 C06C 548F and.w D0, [A4 + 0x548F] 00003F98 4E75 rts fn00003F9A: 00003F9A 4E56 FF00 link A6, -0x0100 00003F9E 2F2E 0008 move.l -[A7], [A6 + 0x8] 00003FA2 486E FF00 pea.l [A6 - 0x100] 00003FA6 4EAD 00EA jsr [A5 + 0xEA /* export_25 */] 00003FAA 508F addq.l A7, 8 00003FAC 486E FF00 pea.l [A6 - 0x100] 00003FB0 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00003FB4 588F addq.l A7, 4 00003FB6 486E FF00 pea.l [A6 - 0x100] 00003FBA 4879 0000 0558 push.l 0x558 00003FC0 4879 0000 055A push.l 0x55A 00003FC6 4879 0000 055C push.l 0x55C 00003FCC A98B syscall ParamText 00003FCE 3F3C 0085 move.w -[A7], 0x85 00003FD2 4EBA C02C jsr [PC - 0x3FD4 /* 00000000 */] 00003FD6 548F addq.l A7, 2 00003FD8 0C40 0001 cmpi.w D0, 0x1 00003FDC 6608 bne +0xA /* 00003FE6 */ 00003FDE 41ED FE22 lea.l A0, [A5 - 0x1DE] 00003FE2 2008 move.l D0, A0 00003FE4 6002 bra +0x4 /* 00003FE8 */ label00003FE6: 00003FE6 7000 moveq.l D0, 0x00 label00003FE8: 00003FE8 4E5E unlink A6 00003FEA 4E75 rts 00003FEC 4745 chk.w D3, D5 00003FEE 5444 addq.w D4, 2 00003FF0 5354 subq.w [A4], 1 00003FF2 5249 addq.w A1, 1 fn00003FF4: 00003FF4 4E56 0000 link A6, 0 00003FF8 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1 00003FFE 6618 bne +0x1A /* 00004018 */ 00004000 3F3C 0004 move.w -[A7], 0x4 00004004 4EBA C4D2 jsr [PC - 0x3B2E /* 000004D8 */] 00004008 548F addq.l A7, 2 0000400A 4A40 tst.w D0 0000400C 660A bne +0xC /* 00004018 */ 0000400E 3F3C 0005 move.w -[A7], 0x5 00004012 A9C8 syscall SysBeep 00004014 7000 moveq.l D0, 0x00 00004016 6004 bra +0x6 /* 0000401C */ label00004018: 00004018 302E 0008 move.w D0, [A6 + 0x8] label0000401C: 0000401C 4E5E unlink A6 0000401E 4E75 rts 00004020 4753 chk.w D3, [A3] 00004022 4443 neg.w D3 00004024 544C addq.w A4, 2 00004026 2020 move.l D0, -[A0] fn00004028: 00004028 486D FE22 pea.l [A5 - 0x1DE] 0000402C 3F3C 0004 move.w -[A7], 0x4 00004030 4EBA C36A jsr [PC - 0x3C96 /* 0000039C */] 00004034 5C8F addq.l A7, 6 00004036 4E75 rts fn00004038: 00004038 4E56 FFF2 link A6, -0x000E 0000403C 426E FFF2 clr.w [A6 - 0xE] 00004040 598F subq.l A7, 4 00004042 4879 6854 7874 push.l 0x68547874 /* 'hTxt' */ 00004048 3F3C 2710 move.w -[A7], 0x2710 0000404C A9A0 syscall GetResource 0000404E 205F movea.l A0, [A7]+ 00004050 2B48 FF26 move.l [A5 - 0xDA], A0 00004054 2F2D FF26 move.l -[A7], [A5 - 0xDA] 00004058 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 0000405C 426D FF2A clr.w [A5 - 0xD6] 00004060 598F subq.l A7, 4 00004062 2F2D FF26 move.l -[A7], [A5 - 0xDA] 00004066 4EAD 0122 jsr [A5 + 0x122 /* export_32 */] 0000406A 201F move.l D0, [A7]+ 0000406C 2D40 FFF4 move.l [A6 - 0xC], D0 00004070 42AE FFF8 clr.l [A6 - 0x8] 00004074 206D FF26 movea.l A0, [A5 - 0xDA] 00004078 2D50 FFFC move.l [A6 - 0x4], [A0] 0000407C 6016 bra +0x18 /* 00004094 */ label0000407E: 0000407E 206E FFFC movea.l A0, [A6 - 0x4] 00004082 0C10 000D cmpi.b [A0], 0xD /* '\r' */ 00004086 6604 bne +0x6 /* 0000408C */ 00004088 526D FF2A addq.w [A5 - 0xD6], 1 label0000408C: 0000408C 52AE FFFC addq.l [A6 - 0x4], 1 00004090 52AE FFF8 addq.l [A6 - 0x8], 1 label00004094: 00004094 202E FFF8 move.l D0, [A6 - 0x8] 00004098 B0AE FFF4 cmp.l D0, [A6 - 0xC] 0000409C 6DE0 blt -0x1E /* 0000407E */ 0000409E 302D FF2A move.w D0, [A5 - 0xD6] 000040A2 E540 asl D0.w, 2 000040A4 598F subq.l A7, 4 000040A6 48C0 ext.l D0 000040A8 2F00 move.l -[A7], D0 000040AA 4EAD 0102 jsr [A5 + 0x102 /* export_28 */] 000040AE 205F movea.l A0, [A7]+ 000040B0 2B48 FF22 move.l [A5 - 0xDE], A0 000040B4 42AE FFF8 clr.l [A6 - 0x8] 000040B8 206D FF26 movea.l A0, [A5 - 0xDA] 000040BC 2D50 FFFC move.l [A6 - 0x4], [A0] 000040C0 6030 bra +0x32 /* 000040F2 */ label000040C2: 000040C2 302E FFF2 move.w D0, [A6 - 0xE] 000040C6 526E FFF2 addq.w [A6 - 0xE], 1 000040CA 48C0 ext.l D0 000040CC E580 asl D0, 2 000040CE D0AD FF22 add.l D0, [A5 - 0xDE] 000040D2 2040 movea.l A0, D0 000040D4 20AE FFFC move.l [A0], [A6 - 0x4] 000040D8 6004 bra +0x6 /* 000040DE */ label000040DA: 000040DA 52AE FFFC addq.l [A6 - 0x4], 1 label000040DE: 000040DE 206E FFFC movea.l A0, [A6 - 0x4] 000040E2 0C10 000D cmpi.b [A0], 0xD /* '\r' */ 000040E6 66F2 bne -0xC /* 000040DA */ 000040E8 206E FFFC movea.l A0, [A6 - 0x4] 000040EC 4210 clr.b [A0] 000040EE 52AE FFFC addq.l [A6 - 0x4], 1 label000040F2: 000040F2 302E FFF2 move.w D0, [A6 - 0xE] 000040F6 B06D FF2A cmp.w D0, [A5 - 0xD6] 000040FA 6DC6 blt -0x38 /* 000040C2 */ 000040FC 4E5E unlink A6 000040FE 4E75 rts 00004100 4C4F 4144 movem.l D2,D6,A0,A6, A7 00004104 4845 swap.w D5 00004106 4C50 2F2D movem.l D0,D2,D3,D5,A0,A1,A2,A3,A5, [A0] // begin alternate branch 00004108-0000410C fn00004108: 00004108 2F2D FF22 move.l -[A7], [A5 - 0xDE] // end alternate branch 00004108-0000410C fn00004108: // (misaligned) 0000410A FF22 .extension 0xF22 <> // unimplemented 0000410C 4EAD 010A jsr [A5 + 0x10A /* export_29 */] 00004110 2F2D FF26 move.l -[A7], [A5 - 0xDA] 00004114 A9A3 syscall ReleaseResource 00004116 4E75 rts 00004118 70FF moveq.l D0, 0xFFFFFFFF 0000411A 3B40 FF32 move.w [A5 - 0xCE], D0 0000411E 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004122 4EBA 02F0 jsr [PC + 0x2F0 /* 00004414 */] 00004126 588F addq.l A7, 4 00004128 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000412C 4EBA 047E jsr [PC + 0x47E /* 000045AC */] 00004130 588F addq.l A7, 4 00004132 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004136 4EBA 03EE jsr [PC + 0x3EE /* 00004526 */] 0000413A 588F addq.l A7, 4 0000413C 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004140 4EBA 042E jsr [PC + 0x42E /* 00004570 */] 00004144 588F addq.l A7, 4 00004146 4E75 rts 00004148 4E56 0000 link A6, 0 0000414C 302E 0008 move.w D0, [A6 + 0x8] 00004150 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00004154 0004 0007 ori.b D4, 0x7 00004158 001A 0008 ori.b [A2]+, 0x8 0000415C 0016 000A ori.b [A6], 0xA /* '\n' */ 00004160 000E 4EBA ori.b A6, 0xBA 00004164 01B2 600A bclr [A2 + D6.w + 0xA], D0 00004168 4EBA 01E6 jsr [PC + 0x1E6 /* 00004350 */] 0000416C 6004 bra +0x6 /* 00004172 */ 0000416E 4EBA 001C jsr [PC + 0x1C /* 0000418C */] label00004172: 00004172 302E 0008 move.w D0, [A6 + 0x8] 00004176 4E5E unlink A6 00004178 4E75 rts 0000417A 4845 swap.w D5 0000417C 4C50 4449 movem.l D0,D3,D6,A2,A6, [A0] 00004180 414C chk.w D0, A4 00004182 4EBA 0490 jsr [PC + 0x490 /* 00004614 */] 00004186 4EBA 0636 jsr [PC + 0x636 /* 000047BE */] 0000418A 4E75 rts fn0000418C: 0000418C 4E56 FEEC link A6, -0x0114 00004190 4EBA 0490 jsr [PC + 0x490 /* 00004622 */] 00004194 3D40 FEF4 move.w [A6 - 0x10C], D0 00004198 0C40 FFFF cmpi.w D0, 0xFFFF 0000419C 676E beq +0x70 /* 0000420C */ 0000419E 302E FEF4 move.w D0, [A6 - 0x10C] 000041A2 48C0 ext.l D0 000041A4 E580 asl D0, 2 000041A6 D0AD FF22 add.l D0, [A5 - 0xDE] 000041AA 2040 movea.l A0, D0 000041AC 2F10 move.l -[A7], [A0] 000041AE 486E FF00 pea.l [A6 - 0x100] 000041B2 4EAD 00EA jsr [A5 + 0xEA /* export_25 */] 000041B6 508F addq.l A7, 8 000041B8 486E FF00 pea.l [A6 - 0x100] 000041BC 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 000041C0 588F addq.l A7, 4 000041C2 486E FF00 pea.l [A6 - 0x100] 000041C6 4879 0000 055E push.l 0x55E 000041CC 4879 0000 0560 push.l 0x560 000041D2 4879 0000 0562 push.l 0x562 000041D8 A98B syscall ParamText 000041DA 3F2E FEF4 move.w -[A7], [A6 - 0x10C] 000041DE 4EBA 04F0 jsr [PC + 0x4F0 /* 000046D0 */] 000041E2 548F addq.l A7, 2 000041E4 598F subq.l A7, 4 000041E6 A8D8 syscall NewRgn 000041E8 205F movea.l A0, [A7]+ 000041EA 2D48 FEEC move.l [A6 - 0x114], A0 000041EE 2F2E FEEC move.l -[A7], [A6 - 0x114] 000041F2 206D EC32 movea.l A0, [A5 - 0x13CE] 000041F6 4868 0010 pea.l [A0 + 0x10] 000041FA A8DF syscall RectRgn 000041FC 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004200 2F2E FEEC move.l -[A7], [A6 - 0x114] 00004204 A978 syscall UpdtDialog 00004206 2F2E FEEC move.l -[A7], [A6 - 0x114] 0000420A A8D9 syscall DisposRgn/DisposeRgn label0000420C: 0000420C 4E5E unlink A6 0000420E 4E75 rts 00004210 4449 neg.w A1 00004212 5350 subq.w [A0], 1 00004214 4C41 594C movem.l D2,D3,D6,A0,A3,A4,A6, D1 export_11: 00004218 4E56 FFF2 link A6, -0x000E 0000421C 4AAD FF3A tst.l [A5 - 0xC6] 00004220 672C beq +0x2E /* 0000424E */ 00004222 2F2E 000A move.l -[A7], [A6 + 0xA] 00004226 3F2E 0008 move.w -[A7], [A6 + 0x8] 0000422A 486E FFF2 pea.l [A6 - 0xE] 0000422E 486E FFF4 pea.l [A6 - 0xC] 00004232 486E FFF8 pea.l [A6 - 0x8] 00004236 A98D syscall GetDialogItem/GetDItem 00004238 3F3C 0001 move.w -[A7], 0x1 0000423C 3F3C 0001 move.w -[A7], 0x1 00004240 A89B syscall PenSize 00004242 486D FD0C pea.l [A5 - 0x2F4] 00004246 A89D syscall PenPat 00004248 486E FFF8 pea.l [A6 - 0x8] 0000424C A8A1 syscall FrameRect label0000424E: 0000424E 4E5E unlink A6 00004250 205F movea.l A0, [A7]+ 00004252 4FEF 0006 lea.l A7, [A7 + 0x6] 00004256 4ED0 jmp [A0] 00004258 4C49 5354 movem.l D2,D4,D6,A0,A1,A4,A6, A1 0000425C 4452 neg.w [A2] 0000425E 4157 chk.w D0, [A7] export_13: 00004260 4E56 FFF2 link A6, -0x000E 00004264 2F2E 000A move.l -[A7], [A6 + 0xA] 00004268 3F2E 0008 move.w -[A7], [A6 + 0x8] 0000426C 486E FFF2 pea.l [A6 - 0xE] 00004270 486E FFF4 pea.l [A6 - 0xC] 00004274 486E FFF8 pea.l [A6 - 0x8] 00004278 A98D syscall GetDialogItem/GetDItem 0000427A 3F3C 0001 move.w -[A7], 0x1 0000427E 3F3C 0001 move.w -[A7], 0x1 00004282 A89B syscall PenSize 00004284 486D FD0C pea.l [A5 - 0x2F4] 00004288 A89D syscall PenPat 0000428A 486E FFF8 pea.l [A6 - 0x8] 0000428E A8A1 syscall FrameRect 00004290 4AAD FF3E tst.l [A5 - 0xC2] 00004294 670A beq +0xC /* 000042A0 */ 00004296 486E FFF8 pea.l [A6 - 0x8] 0000429A 2F2D FF3E move.l -[A7], [A5 - 0xC2] 0000429E A9D3 syscall TEUpdate label000042A0: 000042A0 4E5E unlink A6 000042A2 205F movea.l A0, [A7]+ 000042A4 4FEF 0006 lea.l A7, [A7 + 0x6] 000042A8 4ED0 jmp [A0] 000042AA 424F clr.w A7 000042AC 5844 addq.w D4, 4 000042AE 5241 addq.w D1, 1 000042B0 5748 subq.w A0, 3 export_10: 000042B2 4E56 0000 link A6, 0 000042B6 4E5E unlink A6 000042B8 205F movea.l A0, [A7]+ 000042BA 4FEF 0006 lea.l A7, [A7 + 0x6] 000042BE 4ED0 jmp [A0] 000042C0 5343 subq.w D3, 1 000042C2 524F addq.w A7, 1 000042C4 4C4C 4452 movem.l D1,D4,D6,A2,A6, A4 export_12: 000042C8 4E56 FFF2 link A6, -0x000E 000042CC 2F2E 000A move.l -[A7], [A6 + 0xA] 000042D0 3F2E 0008 move.w -[A7], [A6 + 0x8] 000042D4 486E FFF2 pea.l [A6 - 0xE] 000042D8 486E FFF4 pea.l [A6 - 0xC] 000042DC 486E FFF8 pea.l [A6 - 0x8] 000042E0 A98D syscall GetDialogItem/GetDItem 000042E2 486E FFF8 pea.l [A6 - 0x8] 000042E6 A8A3 syscall EraseRect 000042E8 0C6D FFFF FF32 cmpi.w [A5 - 0xCE], 0xFFFF 000042EE 6714 beq +0x16 /* 00004304 */ 000042F0 486E FFF8 pea.l [A6 - 0x8] 000042F4 302D FF32 move.w D0, [A5 - 0xCE] 000042F8 0640 2711 addi.w D0, 0x2711 000042FC 3F00 move.w -[A7], D0 000042FE 4EBA E444 jsr [PC - 0x1BBC /* 00002744 */] 00004302 5C8F addq.l A7, 6 label00004304: 00004304 4E5E unlink A6 00004306 205F movea.l A0, [A7]+ 00004308 4FEF 0006 lea.l A7, [A7 + 0x6] 0000430C 4ED0 jmp [A0] 0000430E 5049 addq.w A1, 8 00004310 4354 chk.w D1, [A4] 00004312 4452 neg.w [A2] 00004314 4157 chk.w D0, [A7] 00004316 4E56 FFFC link A6, -0x0004 0000431A 486E FFFC pea.l [A6 - 0x4] 0000431E A972 syscall GetMouse 00004320 558F subq.l A7, 2 00004322 2F2E FFFC move.l -[A7], [A6 - 0x4] 00004326 4267 clr.w -[A7] 00004328 2F2D FF3A move.l -[A7], [A5 - 0xC6] 0000432C 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */] 00004330 101F move.b D0, [A7]+ 00004332 4A00 tst.b D0 00004334 6704 beq +0x6 /* 0000433A */ 00004336 4EBA FE54 jsr [PC - 0x1AC /* 0000418C */] label0000433A: 0000433A 3F3C 0006 move.w -[A7], 0x6 0000433E 4267 clr.w -[A7] 00004340 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */] 00004344 4E5E unlink A6 00004346 4E75 rts 00004348 4841 swap.w D1 0000434A 4E44 trap 4 0000434C 4C45 4845 movem.l D0,D2,D6,A3,A6, D5 fn00004350: 00004350 4E56 FFF6 link A6, -0x000A 00004354 4A6D FF38 tst.w [A5 - 0xC8] 00004358 6742 beq +0x44 /* 0000439C */ 0000435A 486E FFFC pea.l [A6 - 0x4] 0000435E A972 syscall GetMouse 00004360 558F subq.l A7, 2 00004362 2F2E FFFC move.l -[A7], [A6 - 0x4] 00004366 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 0000436A 486E FFF8 pea.l [A6 - 0x8] 0000436E A96C syscall FindControl 00004370 301F move.w D0, [A7]+ 00004372 3D40 FFF6 move.w [A6 - 0xA], D0 00004376 0C6E 0081 FFF6 cmpi.w [A6 - 0xA], 0x81 0000437C 6610 bne +0x12 /* 0000438E */ 0000437E 486E FFFC pea.l [A6 - 0x4] 00004382 2F2D FF4E move.l -[A7], [A5 - 0xB2] 00004386 4EBA DBEC jsr [PC - 0x2414 /* 00001F74 */] 0000438A 508F addq.l A7, 8 0000438C 600E bra +0x10 /* 0000439C */ label0000438E: 0000438E 486E FFFC pea.l [A6 - 0x4] 00004392 2F2D FF4E move.l -[A7], [A5 - 0xB2] 00004396 4EBA DC42 jsr [PC - 0x23BE /* 00001FDA */] 0000439A 508F addq.l A7, 8 label0000439C: 0000439C 4E5E unlink A6 0000439E 4E75 rts 000043A0 4841 swap.w D1 000043A2 4E44 trap 4 000043A4 4C45 4845 movem.l D0,D2,D6,A3,A6, D5 fn000043A8: 000043A8 4E56 FFFE link A6, -0x0002 000043AC 3D6E 0008 FFFE move.w [A6 - 0x2], [A6 + 0x8] 000043B2 4AAD FF3E tst.l [A5 - 0xC2] 000043B6 6750 beq +0x52 /* 00004408 */ 000043B8 2F2D FF3E move.l -[A7], [A5 - 0xC2] 000043BC 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 000043C0 4A6E 000A tst.w [A6 + 0xA] 000043C4 6714 beq +0x16 /* 000043DA */ 000043C6 302D FF36 move.w D0, [A5 - 0xCA] 000043CA 906E 0008 sub.w D0, [A6 + 0x8] 000043CE 3D40 0008 move.w [A6 + 0x8], D0 000043D2 3B6E FFFE FF36 move.w [A5 - 0xCA], [A6 - 0x2] 000043D8 6008 bra +0xA /* 000043E2 */ label000043DA: 000043DA 302E 0008 move.w D0, [A6 + 0x8] 000043DE D16D FF36 add.w [A5 - 0xCA], D0 label000043E2: 000043E2 206D FF3E movea.l A0, [A5 - 0xC2] 000043E6 2050 movea.l A0, [A0] 000043E8 302E 0008 move.w D0, [A6 + 0x8] 000043EC C1E8 0018 muls.w D0, [A0 + 0x18] 000043F0 3D40 0008 move.w [A6 + 0x8], D0 000043F4 4267 clr.w -[A7] 000043F6 3F2E 0008 move.w -[A7], [A6 + 0x8] 000043FA 2F2D FF3E move.l -[A7], [A5 - 0xC2] 000043FE A9DD syscall TEScroll 00004400 2F2D FF3E move.l -[A7], [A5 - 0xC2] 00004404 4EAD 0132 jsr [A5 + 0x132 /* export_34 */] label00004408: 00004408 4E5E unlink A6 0000440A 4E75 rts 0000440C 5343 subq.w D3, 1 0000440E 524F addq.w A7, 1 00004410 4C4C 4845 movem.l D0,D2,D6,A3,A6, A4 fn00004414: 00004414 4E56 FFD8 link A6, -0x0028 00004418 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000441C 3F3C 0004 move.w -[A7], 0x4 00004420 486E FFFE pea.l [A6 - 0x2] 00004424 486E FFFA pea.l [A6 - 0x6] 00004428 486E FFF2 pea.l [A6 - 0xE] 0000442C A98D syscall GetDialogItem/GetDItem 0000442E 486E FFEA pea.l [A6 - 0x16] 00004432 302E FFF4 move.w D0, [A6 - 0xC] 00004436 5240 addq.w D0, 1 00004438 3F00 move.w -[A7], D0 0000443A 302E FFF2 move.w D0, [A6 - 0xE] 0000443E 5240 addq.w D0, 1 00004440 3F00 move.w -[A7], D0 00004442 302E FFF8 move.w D0, [A6 - 0x8] 00004446 0640 FFF0 addi.w D0, 0xFFF0 0000444A 3F00 move.w -[A7], D0 0000444C 302E FFF6 move.w D0, [A6 - 0xA] 00004450 5340 subq.w D0, 1 00004452 3F00 move.w -[A7], D0 00004454 A8A7 syscall SetRect 00004456 486E FFE2 pea.l [A6 - 0x1E] 0000445A 4267 clr.w -[A7] 0000445C 4267 clr.w -[A7] 0000445E 3F3C 0001 move.w -[A7], 0x1 00004462 3F2D FF2A move.w -[A7], [A5 - 0xD6] 00004466 A8A7 syscall SetRect 00004468 302E FFF0 move.w D0, [A6 - 0x10] 0000446C 906E FFEC sub.w D0, [A6 - 0x14] 00004470 486E FFDE pea.l [A6 - 0x22] 00004474 3F00 move.w -[A7], D0 00004476 3F3C 0010 move.w -[A7], 0x10 0000447A A880 syscall SetPt 0000447C 598F subq.l A7, 4 0000447E 486E FFEA pea.l [A6 - 0x16] 00004482 486E FFE2 pea.l [A6 - 0x1E] 00004486 2F2E FFDE move.l -[A7], [A6 - 0x22] 0000448A 4267 clr.w -[A7] 0000448C 2F2E 0008 move.l -[A7], [A6 + 0x8] 00004490 1F3C 0001 move.b -[A7], 0x1 00004494 4267 clr.w -[A7] 00004496 4267 clr.w -[A7] 00004498 1F3C 0001 move.b -[A7], 0x1 0000449C 4EAD 01A2 jsr [A5 + 0x1A2 /* export_48 */] 000044A0 205F movea.l A0, [A7]+ 000044A2 2B48 FF3A move.l [A5 - 0xC6], A0 000044A6 2F2D FF3A move.l -[A7], [A5 - 0xC6] 000044AA 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 000044AE 206D FF3A movea.l A0, [A5 - 0xC6] 000044B2 2050 movea.l A0, [A0] 000044B4 7082 moveq.l D0, 0xFFFFFF82 000044B6 1140 0024 move.b [A0 + 0x24], D0 000044BA 2D6D FF22 FFD8 move.l [A6 - 0x28], [A5 - 0xDE] 000044C0 426E FFDC clr.w [A6 - 0x24] 000044C4 6034 bra +0x36 /* 000044FA */ label000044C6: 000044C6 486E FFDE pea.l [A6 - 0x22] 000044CA 4267 clr.w -[A7] 000044CC 3F2E FFDC move.w -[A7], [A6 - 0x24] 000044D0 A880 syscall SetPt 000044D2 206E FFD8 movea.l A0, [A6 - 0x28] 000044D6 2F10 move.l -[A7], [A0] 000044D8 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */] 000044DC 588F addq.l A7, 4 000044DE 206E FFD8 movea.l A0, [A6 - 0x28] 000044E2 2F10 move.l -[A7], [A0] 000044E4 3F00 move.w -[A7], D0 000044E6 2F2E FFDE move.l -[A7], [A6 - 0x22] 000044EA 2F2D FF3A move.l -[A7], [A5 - 0xC6] 000044EE 4EAD 019A jsr [A5 + 0x19A /* export_47 */] 000044F2 58AE FFD8 addq.l [A6 - 0x28], 4 000044F6 526E FFDC addq.w [A6 - 0x24], 1 label000044FA: 000044FA 302E FFDC move.w D0, [A6 - 0x24] 000044FE B06D FF2A cmp.w D0, [A5 - 0xD6] 00004502 6DC2 blt -0x3C /* 000044C6 */ 00004504 2F2E 0008 move.l -[A7], [A6 + 0x8] 00004508 3F3C 0004 move.w -[A7], 0x4 0000450C 3F2E FFFE move.w -[A7], [A6 - 0x2] 00004510 486D 007A pea.l [A5 + 0x7A /* export_11 */] 00004514 486E FFF2 pea.l [A6 - 0xE] 00004518 A98E syscall SetDialogItem/SetDItem 0000451A 4E5E unlink A6 0000451C 4E75 rts 0000451E 4352 chk.w D1, [A2] 00004520 4541 chk.w D2, D1 00004522 5445 addq.w D5, 2 00004524 4845 swap.w D5 fn00004526: 00004526 4E56 FFFA link A6, -0x0006 0000452A 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000452E 3F3C 0005 move.w -[A7], 0x5 00004532 486E FFFE pea.l [A6 - 0x2] 00004536 486E FFFA pea.l [A6 - 0x6] 0000453A 486D FF46 pea.l [A5 - 0xBA] 0000453E A98D syscall GetDialogItem/GetDItem 00004540 2F2E 0008 move.l -[A7], [A6 + 0x8] 00004544 3F3C 0005 move.w -[A7], 0x5 00004548 3F2E FFFE move.w -[A7], [A6 - 0x2] 0000454C 486D 008A pea.l [A5 + 0x8A /* export_13 */] 00004550 486D FF46 pea.l [A5 - 0xBA] 00004554 A98E syscall SetDialogItem/SetDItem 00004556 486D FF46 pea.l [A5 - 0xBA] 0000455A 3F3C 0005 move.w -[A7], 0x5 0000455E 3F3C 0001 move.w -[A7], 0x1 00004562 A8A9 syscall InsetRect 00004564 4E5E unlink A6 00004566 4E75 rts 00004568 4352 chk.w D1, [A2] 0000456A 4541 chk.w D2, D1 0000456C 5445 addq.w D5, 2 0000456E 4845 swap.w D5 fn00004570: 00004570 4E56 FFF2 link A6, -0x000E 00004574 2F2E 0008 move.l -[A7], [A6 + 0x8] 00004578 3F3C 0008 move.w -[A7], 0x8 0000457C 486E FFFE pea.l [A6 - 0x2] 00004580 486E FFFA pea.l [A6 - 0x6] 00004584 486E FFF2 pea.l [A6 - 0xE] 00004588 A98D syscall GetDialogItem/GetDItem 0000458A 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000458E 3F3C 0008 move.w -[A7], 0x8 00004592 3F2E FFFE move.w -[A7], [A6 - 0x2] 00004596 486D 0082 pea.l [A5 + 0x82 /* export_12 */] 0000459A 486E FFF2 pea.l [A6 - 0xE] 0000459E A98E syscall SetDialogItem/SetDItem 000045A0 4E5E unlink A6 000045A2 4E75 rts 000045A4 4352 chk.w D1, [A2] 000045A6 4541 chk.w D2, D1 000045A8 5445 addq.w D5, 2 000045AA 4845 swap.w D5 fn000045AC: 000045AC 4E56 FFF2 link A6, -0x000E 000045B0 2F2E 0008 move.l -[A7], [A6 + 0x8] 000045B4 3F3C 0006 move.w -[A7], 0x6 000045B8 486E FFFE pea.l [A6 - 0x2] 000045BC 486E FFFA pea.l [A6 - 0x6] 000045C0 486E FFF2 pea.l [A6 - 0xE] 000045C4 A98D syscall GetDialogItem/GetDItem 000045C6 598F subq.l A7, 4 000045C8 2F2E 0008 move.l -[A7], [A6 + 0x8] 000045CC 486E FFF2 pea.l [A6 - 0xE] 000045D0 4879 0000 0564 push.l 0x564 000045D6 1F3C 0001 move.b -[A7], 0x1 000045DA 4267 clr.w -[A7] 000045DC 4267 clr.w -[A7] 000045DE 3F3C 0064 move.w -[A7], 0x64 /* 'd' */ 000045E2 3F3C 0010 move.w -[A7], 0x10 000045E6 4878 2710 push.l 0x2710 000045EA A954 syscall NewControl 000045EC 205F movea.l A0, [A7]+ 000045EE 2B48 FF4E move.l [A5 - 0xB2], A0 000045F2 2F2E 0008 move.l -[A7], [A6 + 0x8] 000045F6 3F3C 0006 move.w -[A7], 0x6 000045FA 3F2E FFFE move.w -[A7], [A6 - 0x2] 000045FE 486D 0072 pea.l [A5 + 0x72 /* export_10 */] 00004602 486E FFF2 pea.l [A6 - 0xE] 00004606 A98E syscall SetDialogItem/SetDItem 00004608 4E5E unlink A6 0000460A 4E75 rts 0000460C 4352 chk.w D1, [A2] 0000460E 4541 chk.w D2, D1 00004610 5445 addq.w D5, 2 00004612 4845 swap.w D5 fn00004614: 00004614 2F2D FF3A move.l -[A7], [A5 - 0xC6] 00004618 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */] 0000461C 42AD FF3A clr.l [A5 - 0xC6] 00004620 4E75 rts fn00004622: 00004622 4E56 FFFC link A6, -0x0004 00004626 4AAD FF3A tst.l [A5 - 0xC6] 0000462A 672C beq +0x2E /* 00004658 */ 0000462C 486E FFFC pea.l [A6 - 0x4] 00004630 4267 clr.w -[A7] 00004632 4267 clr.w -[A7] 00004634 A880 syscall SetPt 00004636 558F subq.l A7, 2 00004638 1F3C 0001 move.b -[A7], 0x1 0000463C 486E FFFC pea.l [A6 - 0x4] 00004640 2F2D FF3A move.l -[A7], [A5 - 0xC6] 00004644 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */] 00004648 101F move.b D0, [A7]+ 0000464A 4A00 tst.b D0 0000464C 670A beq +0xC /* 00004658 */ 0000464E 302E FFFC move.w D0, [A6 - 0x4] 00004652 3B40 FF30 move.w [A5 - 0xD0], D0 00004656 6006 bra +0x8 /* 0000465E */ label00004658: 00004658 70FF moveq.l D0, 0xFFFFFFFF 0000465A 3B40 FF30 move.w [A5 - 0xD0], D0 label0000465E: 0000465E 4E5E unlink A6 00004660 4E75 rts 00004662 4845 swap.w D5 00004664 4C50 4C49 movem.l D0,D3,D6,A2,A3,A6, [A0] 00004668 5354 subq.w [A4], 1 0000466A 4E56 FFFC link A6, -0x0004 0000466E 0C6E FFFF 0008 cmpi.w [A6 + 0x8], 0xFFFF 00004674 6632 bne +0x34 /* 000046A8 */ 00004676 486E FFFC pea.l [A6 - 0x4] 0000467A 4267 clr.w -[A7] 0000467C 4267 clr.w -[A7] 0000467E A880 syscall SetPt 00004680 558F subq.l A7, 2 00004682 1F3C 0001 move.b -[A7], 0x1 00004686 486E FFFC pea.l [A6 - 0x4] 0000468A 2F2D FF3A move.l -[A7], [A5 - 0xC6] 0000468E 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */] 00004692 101F move.b D0, [A7]+ 00004694 4A00 tst.b D0 00004696 672C beq +0x2E /* 000046C4 */ 00004698 4267 clr.w -[A7] 0000469A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000469E 2F2D FF3A move.l -[A7], [A5 - 0xC6] 000046A2 4EAD 0192 jsr [A5 + 0x192 /* export_46 */] 000046A6 601C bra +0x1E /* 000046C4 */ label000046A8: 000046A8 486E FFFC pea.l [A6 - 0x4] 000046AC 4267 clr.w -[A7] 000046AE 3F2E 0008 move.w -[A7], [A6 + 0x8] 000046B2 A880 syscall SetPt 000046B4 1F3C 0001 move.b -[A7], 0x1 000046B8 2F2E FFFC move.l -[A7], [A6 - 0x4] 000046BC 2F2D FF3A move.l -[A7], [A5 - 0xC6] 000046C0 4EAD 0192 jsr [A5 + 0x192 /* export_46 */] label000046C4: 000046C4 4E5E unlink A6 000046C6 4E75 rts 000046C8 5345 subq.w D5, 1 000046CA 4C45 4354 movem.l D2,D4,D6,A0,A1,A6, D5 000046CE 4845 swap.w D5 fn000046D0: 000046D0 4E56 FFFA link A6, -0x0006 000046D4 4EBA 00E8 jsr [PC + 0xE8 /* 000047BE */] 000046D8 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 000046DC A873 syscall SetPort 000046DE 3B6E 0008 FF32 move.w [A5 - 0xCE], [A6 + 0x8] 000046E4 486D FF46 pea.l [A5 - 0xBA] 000046E8 A8A3 syscall EraseRect 000046EA 598F subq.l A7, 4 000046EC 486D FF46 pea.l [A5 - 0xBA] 000046F0 486D FF46 pea.l [A5 - 0xBA] 000046F4 A9D2 syscall TENew 000046F6 205F movea.l A0, [A7]+ 000046F8 2B48 FF3E move.l [A5 - 0xC2], A0 000046FC 598F subq.l A7, 4 000046FE 4879 6854 7874 push.l 0x68547874 /* 'hTxt' */ 00004704 302E 0008 move.w D0, [A6 + 0x8] 00004708 0640 2711 addi.w D0, 0x2711 0000470C 3F00 move.w -[A7], D0 0000470E A9A0 syscall GetResource 00004710 205F movea.l A0, [A7]+ 00004712 2B48 FF2C move.l [A5 - 0xD4], A0 00004716 4AAD FF2C tst.l [A5 - 0xD4] 0000471A 661A bne +0x1C /* 00004736 */ 0000471C 41F9 0000 0566 lea.l A0, [0x00000566] 00004722 2D48 FFFC move.l [A6 - 0x4], A0 00004726 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000472A 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */] 0000472E 588F addq.l A7, 4 00004730 3D40 FFFA move.w [A6 - 0x6], D0 00004734 6020 bra +0x22 /* 00004756 */ label00004736: 00004736 2F2D FF2C move.l -[A7], [A5 - 0xD4] 0000473A 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 0000473E 206D FF2C movea.l A0, [A5 - 0xD4] 00004742 2D50 FFFC move.l [A6 - 0x4], [A0] 00004746 598F subq.l A7, 4 00004748 2F2D FF2C move.l -[A7], [A5 - 0xD4] 0000474C 4EAD 0122 jsr [A5 + 0x122 /* export_32 */] 00004750 201F move.l D0, [A7]+ 00004752 3D40 FFFA move.w [A6 - 0x6], D0 label00004756: 00004756 426D FF36 clr.w [A5 - 0xCA] 0000475A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000475E 306E FFFA movea.w A0, [A6 - 0x6] 00004762 2F08 move.l -[A7], A0 00004764 2F2D FF3E move.l -[A7], [A5 - 0xC2] 00004768 A9CF syscall TESetText 0000476A 206D FF3E movea.l A0, [A5 - 0xC2] 0000476E 2050 movea.l A0, [A0] 00004770 3028 005E move.w D0, [A0 + 0x5E] 00004774 0640 FFF5 addi.w D0, 0xFFF5 00004778 3B40 FF38 move.w [A5 - 0xC8], D0 0000477C 4A6D FF38 tst.w [A5 - 0xC8] 00004780 6C04 bge +0x6 /* 00004786 */ 00004782 426D FF38 clr.w [A5 - 0xC8] label00004786: 00004786 4A6D FF38 tst.w [A5 - 0xC8] 0000478A 660C bne +0xE /* 00004798 */ 0000478C 2F2D FF4E move.l -[A7], [A5 - 0xB2] 00004790 3F3C 00FF move.w -[A7], 0xFF 00004794 A95D syscall HiliteControl 00004796 601A bra +0x1C /* 000047B2 */ label00004798: 00004798 2F2D FF4E move.l -[A7], [A5 - 0xB2] 0000479C 4267 clr.w -[A7] 0000479E A95D syscall HiliteControl 000047A0 2F2D FF4E move.l -[A7], [A5 - 0xB2] 000047A4 3F2D FF38 move.w -[A7], [A5 - 0xC8] 000047A8 A965 syscall SetControlMaximum/SetMaxCtl 000047AA 2F2D FF4E move.l -[A7], [A5 - 0xB2] 000047AE 4267 clr.w -[A7] 000047B0 A963 syscall SetControlValue/SetCtlValue label000047B2: 000047B2 4E5E unlink A6 000047B4 4E75 rts 000047B6 4649 not.w A1 000047B8 4C4C 4845 movem.l D0,D2,D6,A3,A6, A4 000047BC 4C50 4AAD movem.l D0,D2,D3,D5,D7,A1,A3,A6, [A0] // begin alternate branch 000047BE-000047C2 fn000047BE: 000047BE 4AAD FF2C tst.l [A5 - 0xD4] // end alternate branch 000047BE-000047C2 fn000047BE: // (misaligned) 000047C0 FF2C .extension 0xF2C <> // unimplemented 000047C2 6706 beq +0x8 /* 000047CA */ 000047C4 2F2D FF2C move.l -[A7], [A5 - 0xD4] 000047C8 A9A3 syscall ReleaseResource label000047CA: 000047CA 4AAD FF42 tst.l [A5 - 0xBE] 000047CE 6708 beq +0xA /* 000047D8 */ 000047D0 2F2D FF42 move.l -[A7], [A5 - 0xBE] 000047D4 4EAD 010A jsr [A5 + 0x10A /* export_29 */] label000047D8: 000047D8 4AAD FF3E tst.l [A5 - 0xC2] 000047DC 6710 beq +0x12 /* 000047EE */ 000047DE 42A7 clr.l -[A7] 000047E0 42A7 clr.l -[A7] 000047E2 2F2D FF3E move.l -[A7], [A5 - 0xC2] 000047E6 A9CF syscall TESetText 000047E8 2F2D FF3E move.l -[A7], [A5 - 0xC2] 000047EC A9CD syscall TEDispose label000047EE: 000047EE 42AD FF3E clr.l [A5 - 0xC2] 000047F2 42AD FF42 clr.l [A5 - 0xBE] 000047F6 42AD FF2C clr.l [A5 - 0xD4] 000047FA 4E75 rts fn000047FC: 000047FC 4EBA F83A jsr [PC - 0x7C6 /* 00004038 */] 00004800 4879 0000 0574 push.l 0x574 00004806 4879 0000 0576 push.l 0x576 0000480C 4879 0000 0578 push.l 0x578 00004812 4879 0000 057A push.l 0x57A 00004818 A98B syscall ParamText 0000481A 3F3C 000F move.w -[A7], 0xF 0000481E 4EBA D7EC jsr [PC - 0x2814 /* 0000200C */] 00004822 548F addq.l A7, 2 00004824 3F3C 0084 move.w -[A7], 0x84 00004828 4EBA B7D6 jsr [PC - 0x482A /* 00000000 */] 0000482C 548F addq.l A7, 2 0000482E 4EBA F8D8 jsr [PC - 0x728 /* 00004108 */] 00004832 4E75 rts fn00004834: 00004834 4E56 FFF2 link A6, -0x000E 00004838 598F subq.l A7, 4 0000483A 4878 02D0 push.l 0x2D0 0000483E 4EAD 0112 jsr [A5 + 0x112 /* export_30 */] 00004842 205F movea.l A0, [A7]+ 00004844 2D48 FFFC move.l [A6 - 0x4], A0 00004848 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000484C 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00004850 206E FFFC movea.l A0, [A6 - 0x4] 00004854 2D50 FFF8 move.l [A6 - 0x8], [A0] 00004858 426E FFF2 clr.w [A6 - 0xE] 0000485C 603A bra +0x3C /* 00004898 */ label0000485E: 0000485E 302E FFF2 move.w D0, [A6 - 0xE] 00004862 C1FC 0014 muls.w D0, 0x14 00004866 48C0 ext.l D0 00004868 D0AE FFF8 add.l D0, [A6 - 0x8] 0000486C 2D40 FFF4 move.l [A6 - 0xC], D0 00004870 302E FFF2 move.w D0, [A6 - 0xE] 00004874 5240 addq.w D0, 1 00004876 3F00 move.w -[A7], D0 00004878 4879 0000 057C push.l 0x57C 0000487E 2F2E FFF4 move.l -[A7], [A6 - 0xC] 00004882 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 00004886 4FEF 000A lea.l A7, [A7 + 0xA] 0000488A 2F2E FFF4 move.l -[A7], [A6 - 0xC] 0000488E 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00004892 588F addq.l A7, 4 00004894 526E FFF2 addq.w [A6 - 0xE], 1 label00004898: 00004898 0C6E 0024 FFF2 cmpi.w [A6 - 0xE], 0x24 /* '$' */ 0000489E 6DBE blt -0x40 /* 0000485E */ 000048A0 558F subq.l A7, 2 000048A2 4879 6D23 544B push.l 0x6D23544B /* 'm#TK' */ 000048A8 A9C1 syscall UniqueID 000048AA 301F move.w D0, [A7]+ 000048AC 2F2E FFFC move.l -[A7], [A6 - 0x4] 000048B0 4879 6D23 544B push.l 0x6D23544B /* 'm#TK' */ 000048B6 3F00 move.w -[A7], D0 000048B8 2F2E 0008 move.l -[A7], [A6 + 0x8] 000048BC A9AB syscall AddResource 000048BE 2F2E FFFC move.l -[A7], [A6 - 0x4] 000048C2 A9B0 syscall WriteResource 000048C4 2F2E FFFC move.l -[A7], [A6 - 0x4] 000048C8 A9A3 syscall ReleaseResource 000048CA 4E5E unlink A6 000048CC 4E75 rts 000048CE 4D41 chk.w D6, D1 000048D0 4B45 chk.w D5, D5 000048D2 4E45 trap 5 000048D4 5754 subq.w [A4], 3 fn000048D6: 000048D6 4E56 0000 link A6, 0 000048DA 598F subq.l A7, 4 000048DC 4879 6D23 544B push.l 0x6D23544B /* 'm#TK' */ 000048E2 2F2E 0008 move.l -[A7], [A6 + 0x8] 000048E6 A9A1 syscall GetNamedResource 000048E8 205F movea.l A0, [A7]+ 000048EA 2B48 FFA6 move.l [A5 - 0x5A], A0 000048EE 4AAD FFA6 tst.l [A5 - 0x5A] 000048F2 661E bne +0x20 /* 00004912 */ 000048F4 2F2E 0008 move.l -[A7], [A6 + 0x8] 000048F8 4EBA FF3A jsr [PC - 0xC6 /* 00004834 */] 000048FC 588F addq.l A7, 4 000048FE 598F subq.l A7, 4 00004900 4879 6D23 544B push.l 0x6D23544B /* 'm#TK' */ 00004906 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000490A A9A1 syscall GetNamedResource 0000490C 205F movea.l A0, [A7]+ 0000490E 2B48 FFA6 move.l [A5 - 0x5A], A0 label00004912: 00004912 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 00004916 4EAD 013A jsr [A5 + 0x13A /* export_35 */] 0000491A 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000491E 486D FF56 pea.l [A5 - 0xAA] 00004922 4EBA DF78 jsr [PC - 0x2088 /* 0000289C */] 00004926 508F addq.l A7, 8 00004928 4E5E unlink A6 0000492A 4E75 rts 0000492C 414C chk.w D0, A4 0000492E 4C4F 434B movem.l D0,D1,D3,D6,A0,A1,A6, A7 00004932 4559 chk.w D2, [A1]+ fn00004934: 00004934 4AAD FFA6 tst.l [A5 - 0x5A] 00004938 6706 beq +0x8 /* 00004940 */ 0000493A 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 0000493E A9A3 syscall ReleaseResource label00004940: 00004940 42AD FFA6 clr.l [A5 - 0x5A] 00004944 4E75 rts fn00004946: 00004946 4E56 FFF4 link A6, -0x000C 0000494A 4AAD FFA6 tst.l [A5 - 0x5A] 0000494E 676E beq +0x70 /* 000049BE */ 00004950 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 00004954 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00004958 206D FFA6 movea.l A0, [A5 - 0x5A] 0000495C 2D50 FFFC move.l [A6 - 0x4], [A0] 00004960 302E 0008 move.w D0, [A6 + 0x8] 00004964 C1FC 0014 muls.w D0, 0x14 00004968 48C0 ext.l D0 0000496A D1AE FFFC add.l [A6 - 0x4], D0 0000496E 2F2D FB30 move.l -[A7], [A5 - 0x4D0] 00004972 A873 syscall SetPort 00004974 A89E syscall PenNormal 00004976 41EE FFF4 lea.l A0, [A6 - 0xC] 0000497A 43ED FFAA lea.l A1, [A5 - 0x56] 0000497E 20D9 move.l [A0]+, [A1]+ 00004980 20D9 move.l [A0]+, [A1]+ 00004982 558F subq.l A7, 2 00004984 2F2E FFFC move.l -[A7], [A6 - 0x4] 00004988 A88C syscall StringWidth 0000498A 301F move.w D0, [A7]+ 0000498C D06E FFF6 add.w D0, [A6 - 0xA] 00004990 5040 addq.w D0, 8 00004992 3D40 FFFA move.w [A6 - 0x6], D0 00004996 486E FFF4 pea.l [A6 - 0xC] 0000499A A8A3 syscall EraseRect 0000499C 486E FFF4 pea.l [A6 - 0xC] 000049A0 A8A1 syscall FrameRect 000049A2 4267 clr.w -[A7] 000049A4 A889 syscall TextMode 000049A6 3F3C 0018 move.w -[A7], 0x18 000049AA 3F3C 0136 move.w -[A7], 0x136 000049AE A893 syscall MoveTo 000049B0 2F2E FFFC move.l -[A7], [A6 - 0x4] 000049B4 A884 syscall DrawString 000049B6 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 000049BA 4EAD 0132 jsr [A5 + 0x132 /* export_34 */] label000049BE: 000049BE 4E5E unlink A6 000049C0 4E75 rts 000049C2 4449 neg.w A1 000049C4 5350 subq.w [A0], 1 000049C6 4C41 5954 movem.l D2,D4,D6,A0,A3,A4,A6, D1 fn000049CA: 000049CA 206D FB38 movea.l A0, [A5 - 0x4C8] 000049CE 4868 0002 pea.l [A0 + 0x2] 000049D2 206D FB30 movea.l A0, [A5 - 0x4D0] 000049D6 4868 0002 pea.l [A0 + 0x2] 000049DA 486D FFAA pea.l [A5 - 0x56] 000049DE 486D FFAA pea.l [A5 - 0x56] 000049E2 4267 clr.w -[A7] 000049E4 42A7 clr.l -[A7] 000049E6 A8EC syscall CopyBits 000049E8 4E75 rts export_14: fn000049EA: 000049EA 4E56 0000 link A6, 0 000049EE 0C6D FFFF FFB2 cmpi.w [A5 - 0x4E], 0xFFFF 000049F4 6608 bne +0xA /* 000049FE */ 000049F6 486D FFBC pea.l [A5 - 0x44] 000049FA A8A3 syscall EraseRect 000049FC 601E bra +0x20 /* 00004A1C */ label000049FE: 000049FE 206D FB34 movea.l A0, [A5 - 0x4CC] 00004A02 4868 0002 pea.l [A0 + 0x2] 00004A06 206E 000A movea.l A0, [A6 + 0xA] 00004A0A 4868 0002 pea.l [A0 + 0x2] 00004A0E 486D FFB4 pea.l [A5 - 0x4C] 00004A12 486D FFBC pea.l [A5 - 0x44] 00004A16 4267 clr.w -[A7] 00004A18 42A7 clr.l -[A7] 00004A1A A8EC syscall CopyBits label00004A1C: 00004A1C 4E5E unlink A6 00004A1E 205F movea.l A0, [A7]+ 00004A20 4FEF 0006 lea.l A7, [A7 + 0x6] 00004A24 4ED0 jmp [A0] 00004A26 5449 addq.w A1, 2 00004A28 4C45 5348 movem.l D3,D6,A0,A1,A4,A6, D5 00004A2C 4F57 chk.w D7, [A7] fn00004A2E: 00004A2E 4E56 FFF2 link A6, -0x000E 00004A32 2F2E 0008 move.l -[A7], [A6 + 0x8] 00004A36 3F2E 000C move.w -[A7], [A6 + 0xC] 00004A3A 486E FFFE pea.l [A6 - 0x2] 00004A3E 486E FFFA pea.l [A6 - 0x6] 00004A42 486E FFF2 pea.l [A6 - 0xE] 00004A46 A98D syscall GetDialogItem/GetDItem 00004A48 2F2E 0008 move.l -[A7], [A6 + 0x8] 00004A4C 3F2E 000C move.w -[A7], [A6 + 0xC] 00004A50 3F2E FFFE move.w -[A7], [A6 - 0x2] 00004A54 486D 0092 pea.l [A5 + 0x92 /* export_14 */] 00004A58 486E FFF2 pea.l [A6 - 0xE] 00004A5C A98E syscall SetDialogItem/SetDItem 00004A5E 41ED FFBC lea.l A0, [A5 - 0x44] 00004A62 43EE FFF2 lea.l A1, [A6 - 0xE] 00004A66 20D9 move.l [A0]+, [A1]+ 00004A68 20D9 move.l [A0]+, [A1]+ 00004A6A 4E5E unlink A6 00004A6C 4E75 rts 00004A6E 4352 chk.w D1, [A2] 00004A70 4541 chk.w D2, D1 00004A72 5445 addq.w D5, 2 00004A74 5449 addq.w A1, 2 fn00004A76: 00004A76 4E56 FFFC link A6, -0x0004 00004A7A 2F03 move.l -[A7], D3 00004A7C 302E 0008 move.w D0, [A6 + 0x8] 00004A80 3B40 FFB2 move.w [A5 - 0x4E], D0 00004A84 0C40 0001 cmpi.w D0, 0x1 00004A88 6748 beq +0x4A /* 00004AD2 */ 00004A8A 306E 0008 movea.w A0, [A6 + 0x8] 00004A8E 2008 move.l D0, A0 00004A90 81FC 0006 divs.w D0, 0x6 00004A94 3D40 FFFE move.w [A6 - 0x2], D0 00004A98 306E 0008 movea.w A0, [A6 + 0x8] 00004A9C 2008 move.l D0, A0 00004A9E 81FC 0006 divs.w D0, 0x6 00004AA2 4840 swap.w D0 00004AA4 3D40 FFFC move.w [A6 - 0x4], D0 00004AA8 302E FFFE move.w D0, [A6 - 0x2] 00004AAC EB40 asl D0.w, 5 00004AAE 322E FFFC move.w D1, [A6 - 0x4] 00004AB2 EB41 asl D1.w, 5 00004AB4 342E FFFE move.w D2, [A6 - 0x2] 00004AB8 5242 addq.w D2, 1 00004ABA EB42 asl D2.w, 5 00004ABC 362E FFFC move.w D3, [A6 - 0x4] 00004AC0 5243 addq.w D3, 1 00004AC2 EB43 asl D3.w, 5 00004AC4 486D FFB4 pea.l [A5 - 0x4C] 00004AC8 3F00 move.w -[A7], D0 00004ACA 3F01 move.w -[A7], D1 00004ACC 3F02 move.w -[A7], D2 00004ACE 3F03 move.w -[A7], D3 00004AD0 A8A7 syscall SetRect label00004AD2: 00004AD2 261F move.l D3, [A7]+ 00004AD4 4E5E unlink A6 00004AD6 4E75 rts 00004AD8 4649 not.w A1 00004ADA 4E44 trap 4 00004ADC 5449 addq.w A1, 2 00004ADE 4C45 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, D5 // begin alternate branch 00004AE0-00004AE4 fn00004AE0: 00004AE0 4E56 FFB0 link A6, -0x0050 // end alternate branch 00004AE0-00004AE4 fn00004AE0: // (misaligned) 00004AE2 FFB0 .invalid <> 00004AE4 3F2E 0008 move.w -[A7], [A6 + 0x8] 00004AE8 4EBA FF8C jsr [PC - 0x74 /* 00004A76 */] 00004AEC 548F addq.l A7, 2 00004AEE 302E 0008 move.w D0, [A6 + 0x8] 00004AF2 5240 addq.w D0, 1 00004AF4 3F00 move.w -[A7], D0 00004AF6 4879 0000 0586 push.l 0x586 00004AFC 486E FFB0 pea.l [A6 - 0x50] 00004B00 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 00004B04 4FEF 000A lea.l A7, [A7 + 0xA] 00004B08 486E FFB0 pea.l [A6 - 0x50] 00004B0C 3F3C 0003 move.w -[A7], 0x3 00004B10 4EBA B812 jsr [PC - 0x47EE /* 00000324 */] 00004B14 5C8F addq.l A7, 6 00004B16 302E 0008 move.w D0, [A6 + 0x8] 00004B1A C1FC 0014 muls.w D0, 0x14 00004B1E 48C0 ext.l D0 00004B20 D0AD FFC4 add.l D0, [A5 - 0x3C] 00004B24 2F00 move.l -[A7], D0 00004B26 3F3C 0004 move.w -[A7], 0x4 00004B2A 4EBA B840 jsr [PC - 0x47C0 /* 0000036C */] 00004B2E 5C8F addq.l A7, 6 00004B30 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004B34 3F3C 0008 move.w -[A7], 0x8 00004B38 4EBA FEB0 jsr [PC - 0x150 /* 000049EA */] 00004B3C 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004B40 3F3C 0004 move.w -[A7], 0x4 00004B44 4267 clr.w -[A7] 00004B46 3F3C 7FFF move.w -[A7], 0x7FFF 00004B4A A97E syscall SelectDialogItemText/SelIText 00004B4C 4E5E unlink A6 00004B4E 4E75 rts 00004B50 5345 subq.w D5, 1 00004B52 5443 addq.w D3, 2 00004B54 5552 subq.w [A2], 2 00004B56 5245 addq.w D5, 1 fn00004B58: 00004B58 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 00004B5C 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00004B60 206D FFA6 movea.l A0, [A5 - 0x5A] 00004B64 2B50 FFC4 move.l [A5 - 0x3C], [A0] 00004B68 3F3C 0008 move.w -[A7], 0x8 00004B6C 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004B70 4EBA FEBC jsr [PC - 0x144 /* 00004A2E */] 00004B74 5C8F addq.l A7, 6 00004B76 4267 clr.w -[A7] 00004B78 4EBA FF66 jsr [PC - 0x9A /* 00004AE0 */] 00004B7C 548F addq.l A7, 2 00004B7E 4E75 rts fn00004B80: 00004B80 4E56 FFAC link A6, -0x0054 00004B84 302D FFB2 move.w D0, [A5 - 0x4E] 00004B88 C1FC 0014 muls.w D0, 0x14 00004B8C 48C0 ext.l D0 00004B8E D0AD FFC4 add.l D0, [A5 - 0x3C] 00004B92 2D40 FFAC move.l [A6 - 0x54], D0 00004B96 486E FFB0 pea.l [A6 - 0x50] 00004B9A 3F3C 0004 move.w -[A7], 0x4 00004B9E 4EBA B7FC jsr [PC - 0x4804 /* 0000039C */] 00004BA2 5C8F addq.l A7, 6 00004BA4 486E FFB0 pea.l [A6 - 0x50] 00004BA8 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */] 00004BAC 588F addq.l A7, 4 00004BAE 0C40 0013 cmpi.w D0, 0x13 00004BB2 6F04 ble +0x6 /* 00004BB8 */ 00004BB4 422E FFC3 clr.b [A6 - 0x3D] label00004BB8: 00004BB8 486E FFB0 pea.l [A6 - 0x50] 00004BBC 2F2E FFAC move.l -[A7], [A6 - 0x54] 00004BC0 4EAD 00EA jsr [A5 + 0xEA /* export_25 */] 00004BC4 508F addq.l A7, 8 00004BC6 2F2E FFAC move.l -[A7], [A6 - 0x54] 00004BCA 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00004BCE 588F addq.l A7, 4 00004BD0 4E5E unlink A6 00004BD2 4E75 rts 00004BD4 5245 addq.w D5, 1 00004BD6 444F neg.w A7 00004BD8 4355 chk.w D1, [A5] 00004BDA 5252 addq.w [A2], 1 fn00004BDC: 00004BDC 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 00004BE0 A9A3 syscall ReleaseResource 00004BE2 598F subq.l A7, 4 00004BE4 4879 6D23 544B push.l 0x6D23544B /* 'm#TK' */ 00004BEA 486D FF56 pea.l [A5 - 0xAA] 00004BEE A9A1 syscall GetNamedResource 00004BF0 205F movea.l A0, [A7]+ 00004BF2 2B48 FFA6 move.l [A5 - 0x5A], A0 00004BF6 4E75 rts fn00004BF8: 00004BF8 4E56 0000 link A6, 0 00004BFC 302E 0008 move.w D0, [A6 + 0x8] 00004C00 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00004C04 0001 0007 ori.b D1, 0x7 00004C08 005A 003A ori.w [A2]+, 0x3A /* ':' */ 00004C0C 0014 0054 ori.b [A4], 0x54 /* 'T' */ 00004C10 0052 0050 ori.w [A2], 0x50 /* 'P' */ 00004C14 0012 0002 ori.b [A2], 0x2 00004C18 4EBA FF66 jsr [PC - 0x9A /* 00004B80 */] 00004C1C 7001 moveq.l D0, 0x01 00004C1E 6046 bra +0x48 /* 00004C66 */ 00004C20 4EBA FFBA jsr [PC - 0x46 /* 00004BDC */] 00004C24 603C bra +0x3E /* 00004C62 */ 00004C26 4EBA FF58 jsr [PC - 0xA8 /* 00004B80 */] 00004C2A 302D FFB2 move.w D0, [A5 - 0x4E] 00004C2E 0640 0023 addi.w D0, 0x23 /* '#' */ 00004C32 48C0 ext.l D0 00004C34 81FC 0024 divs.w D0, 0x24 /* '$' */ 00004C38 4840 swap.w D0 00004C3A 3F00 move.w -[A7], D0 00004C3C 4EBA FEA2 jsr [PC - 0x15E /* 00004AE0 */] 00004C40 548F addq.l A7, 2 00004C42 601E bra +0x20 /* 00004C62 */ 00004C44 4EBA FF3A jsr [PC - 0xC6 /* 00004B80 */] 00004C48 302D FFB2 move.w D0, [A5 - 0x4E] 00004C4C 5240 addq.w D0, 1 00004C4E 48C0 ext.l D0 00004C50 81FC 0024 divs.w D0, 0x24 /* '$' */ 00004C54 4840 swap.w D0 00004C56 3F00 move.w -[A7], D0 00004C58 4EBA FE86 jsr [PC - 0x17A /* 00004AE0 */] 00004C5C 548F addq.l A7, 2 00004C5E 7007 moveq.l D0, 0x07 00004C60 6004 bra +0x6 /* 00004C66 */ label00004C62: 00004C62 302E 0008 move.w D0, [A6 + 0x8] label00004C66: 00004C66 4E5E unlink A6 00004C68 4E75 rts 00004C6A 5449 addq.w A1, 2 00004C6C 4C45 4B45 movem.l D0,D2,D6,A0,A1,A3,A6, D5 00004C70 5943 subq.w D3, 4 fn00004C72: 00004C72 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 00004C76 A9AA syscall ChangedResource 00004C78 2F2D FFA6 move.l -[A7], [A5 - 0x5A] 00004C7C A9B0 syscall WriteResource 00004C7E 4E75 rts fn00004C80: 00004C80 3F3C 0004 move.w -[A7], 0x4 00004C84 2F2D EC32 move.l -[A7], [A5 - 0x13CE] 00004C88 4EBA FDA4 jsr [PC - 0x25C /* 00004A2E */] 00004C8C 5C8F addq.l A7, 6 00004C8E 4E75 rts fn00004C90: 00004C90 4E56 FFAC link A6, -0x0054 00004C94 486E FFFC pea.l [A6 - 0x4] 00004C98 486E FFFE pea.l [A6 - 0x2] 00004C9C 4EBA F1D8 jsr [PC - 0xE28 /* 00003E76 */] 00004CA0 508F addq.l A7, 8 00004CA2 4A6E FFFE tst.w [A6 - 0x2] 00004CA6 661C bne +0x1E /* 00004CC4 */ 00004CA8 4879 0000 0590 push.l 0x590 00004CAE 4879 0000 05AE push.l 0x5AE 00004CB4 4879 0000 05B0 push.l 0x5B0 00004CBA 4879 0000 05B2 push.l 0x5B2 00004CC0 A98B syscall ParamText 00004CC2 605C bra +0x5E /* 00004D20 */ label00004CC4: 00004CC4 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1 00004CCA 661C bne +0x1E /* 00004CE8 */ 00004CCC 4879 0000 05B4 push.l 0x5B4 00004CD2 4879 0000 05D4 push.l 0x5D4 00004CD8 4879 0000 05D6 push.l 0x5D6 00004CDE 4879 0000 05D8 push.l 0x5D8 00004CE4 A98B syscall ParamText 00004CE6 6038 bra +0x3A /* 00004D20 */ label00004CE8: 00004CE8 3F2E FFFE move.w -[A7], [A6 - 0x2] 00004CEC 4879 0000 05DA push.l 0x5DA 00004CF2 486E FFAC pea.l [A6 - 0x54] 00004CF6 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */] 00004CFA 4FEF 000A lea.l A7, [A7 + 0xA] 00004CFE 486E FFAC pea.l [A6 - 0x54] 00004D02 4EAD 017A jsr [A5 + 0x17A /* export_43 */] 00004D06 588F addq.l A7, 4 00004D08 486E FFAC pea.l [A6 - 0x54] 00004D0C 4879 0000 05F8 push.l 0x5F8 00004D12 4879 0000 062C push.l 0x62C 00004D18 4879 0000 062E push.l 0x62E 00004D1E A98B syscall ParamText label00004D20: 00004D20 3F2E FFFC move.w -[A7], [A6 - 0x4] 00004D24 4EBA FD50 jsr [PC - 0x2B0 /* 00004A76 */] 00004D28 548F addq.l A7, 2 00004D2A 3F3C 012E move.w -[A7], 0x12E 00004D2E 4EBA B2D0 jsr [PC - 0x4D30 /* 00000000 */] 00004D32 548F addq.l A7, 2 00004D34 4E5E unlink A6 00004D36 4E75 rts 00004D38 5348 subq.w A0, 1 00004D3A 4F57 chk.w D7, [A7] 00004D3C 4849 pea.l A1 00004D3E 4E54 4E56 link A4, -0xFFFFB1AA // begin alternate branch 00004D40-00004D44 fn00004D40: 00004D40 4E56 FFFE link A6, -0x0002 // end alternate branch 00004D40-00004D44 fn00004D40: // (misaligned) 00004D42 FFFE .invalid <> 00004D44 426E FFFE clr.w [A6 - 0x2] 00004D48 600E bra +0x10 /* 00004D58 */ label00004D4A: 00004D4A 41ED FFCC lea.l A0, [A5 - 0x34] 00004D4E D0EE FFFE add.w A0, [A6 - 0x2] 00004D52 4210 clr.b [A0] 00004D54 526E FFFE addq.w [A6 - 0x2], 1 label00004D58: 00004D58 0C6E 0024 FFFE cmpi.w [A6 - 0x2], 0x24 /* '$' */ 00004D5E 6DEA blt -0x14 /* 00004D4A */ 00004D60 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004D64 A873 syscall SetPort 00004D66 206D FFC8 movea.l A0, [A5 - 0x38] 00004D6A 4868 0010 pea.l [A0 + 0x10] 00004D6E A928 syscall InvalRect 00004D70 4E5E unlink A6 00004D72 4E75 rts 00004D74 434C chk.w D1, A4 00004D76 4541 chk.w D2, D1 00004D78 5252 addq.w [A2], 1 00004D7A 454D chk.w D2, A5 fn00004D7C: 00004D7C 4E56 FFFE link A6, -0x0002 00004D80 0C6D 02D8 FCAE cmpi.w [A5 - 0x352], 0x2D8 00004D86 5CC0 sge D0 00004D88 4400 neg.b D0 00004D8A 4880 ext.w D0 00004D8C 3D40 FFFE move.w [A6 - 0x2], D0 00004D90 4A40 tst.w D0 00004D92 670C beq +0xE /* 00004DA0 */ 00004D94 486D FFF0 pea.l [A5 - 0x10] 00004D98 3F3C 01D8 move.w -[A7], 0x1D8 00004D9C 4267 clr.w -[A7] 00004D9E A8A8 syscall OffsetRect label00004DA0: 00004DA0 598F subq.l A7, 4 00004DA2 42A7 clr.l -[A7] 00004DA4 486D FFF0 pea.l [A5 - 0x10] 00004DA8 4879 0000 0630 push.l 0x630 00004DAE 1F2E FFFF move.b -[A7], [A6 - 0x1] 00004DB2 3F3C 0004 move.w -[A7], 0x4 00004DB6 4878 FFFF push.l 0xFFFF 00004DBA 1F3C 0001 move.b -[A7], 0x1 00004DBE 4878 0064 push.l 0x64 /* 'd' */ 00004DC2 A913 syscall NewWindow 00004DC4 205F movea.l A0, [A7]+ 00004DC6 2B48 FFC8 move.l [A5 - 0x38], A0 00004DCA 4E5E unlink A6 00004DCC 4E75 rts 00004DCE 4352 chk.w D1, [A2] 00004DD0 4541 chk.w D2, D1 00004DD2 5445 addq.w D5, 2 00004DD4 5245 addq.w D5, 1 fn00004DD6: 00004DD6 4E56 0000 link A6, 0 00004DDA 41ED FFCC lea.l A0, [A5 - 0x34] 00004DDE D0EE 0008 add.w A0, [A6 + 0x8] 00004DE2 5410 addq.b [A0], 2 00004DE4 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004DE8 A873 syscall SetPort 00004DEA 206D FFC8 movea.l A0, [A5 - 0x38] 00004DEE 4868 0010 pea.l [A0 + 0x10] 00004DF2 A928 syscall InvalRect 00004DF4 4E5E unlink A6 00004DF6 4E75 rts 00004DF8 4144 chk.w D0, D4 00004DFA 4452 neg.w [A2] 00004DFC 454D chk.w D2, A5 00004DFE 5749 subq.w A1, 3 fn00004E00: 00004E00 4E56 0000 link A6, 0 00004E04 41ED FFCC lea.l A0, [A5 - 0x34] 00004E08 D0EE 0008 add.w A0, [A6 + 0x8] 00004E0C 5510 subq.b [A0], 2 00004E0E 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004E12 A873 syscall SetPort 00004E14 206D FFC8 movea.l A0, [A5 - 0x38] 00004E18 4868 0010 pea.l [A0 + 0x10] 00004E1C A928 syscall InvalRect 00004E1E 4E5E unlink A6 00004E20 4E75 rts 00004E22 5355 subq.w [A5], 1 00004E24 4252 clr.w [A2] 00004E26 454D chk.w D2, A5 00004E28 5749 subq.w A1, 3 fn00004E2A: 00004E2A 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004E2E A915 syscall ShowWindow 00004E30 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004E34 A91F syscall SelectWindow 00004E36 4E75 rts 00004E38 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004E3C A916 syscall HideWindow 00004E3E 4E75 rts fn00004E40: 00004E40 4E56 FFEA link A6, -0x0016 00004E44 2F03 move.l -[A7], D3 00004E46 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004E4A A873 syscall SetPort 00004E4C 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004E50 A922 syscall BeginUpdate 00004E52 426E FFFE clr.w [A6 - 0x2] 00004E56 6000 00BA bra +0xBC /* 00004F12 */ label00004E5A: 00004E5A 306E FFFE movea.w A0, [A6 - 0x2] 00004E5E 2008 move.l D0, A0 00004E60 81FC 0006 divs.w D0, 0x6 00004E64 3D40 FFFC move.w [A6 - 0x4], D0 00004E68 306E FFFE movea.w A0, [A6 - 0x2] 00004E6C 2008 move.l D0, A0 00004E6E 81FC 0006 divs.w D0, 0x6 00004E72 4840 swap.w D0 00004E74 3D40 FFFA move.w [A6 - 0x6], D0 00004E78 302E FFFC move.w D0, [A6 - 0x4] 00004E7C EB40 asl D0.w, 5 00004E7E 322E FFFA move.w D1, [A6 - 0x6] 00004E82 EB41 asl D1.w, 5 00004E84 342E FFFC move.w D2, [A6 - 0x4] 00004E88 5242 addq.w D2, 1 00004E8A EB42 asl D2.w, 5 00004E8C 362E FFFA move.w D3, [A6 - 0x6] 00004E90 5243 addq.w D3, 1 00004E92 EB43 asl D3.w, 5 00004E94 486E FFF2 pea.l [A6 - 0xE] 00004E98 3F00 move.w -[A7], D0 00004E9A 3F01 move.w -[A7], D1 00004E9C 3F02 move.w -[A7], D2 00004E9E 3F03 move.w -[A7], D3 00004EA0 A8A7 syscall SetRect 00004EA2 41EE FFEA lea.l A0, [A6 - 0x16] 00004EA6 43EE FFF2 lea.l A1, [A6 - 0xE] 00004EAA 20D9 move.l [A0]+, [A1]+ 00004EAC 20D9 move.l [A0]+, [A1]+ 00004EAE 302E FFFC move.w D0, [A6 - 0x4] 00004EB2 5240 addq.w D0, 1 00004EB4 D040 add.w D0, D0 00004EB6 322E FFFA move.w D1, [A6 - 0x6] 00004EBA 5241 addq.w D1, 1 00004EBC D241 add.w D1, D1 00004EBE 486E FFEA pea.l [A6 - 0x16] 00004EC2 3F00 move.w -[A7], D0 00004EC4 3F01 move.w -[A7], D1 00004EC6 A8A8 syscall OffsetRect 00004EC8 41ED FFCC lea.l A0, [A5 - 0x34] 00004ECC D0EE FFFE add.w A0, [A6 - 0x2] 00004ED0 4A10 tst.b [A0] 00004ED2 6608 bne +0xA /* 00004EDC */ 00004ED4 486E FFEA pea.l [A6 - 0x16] 00004ED8 A8A3 syscall EraseRect 00004EDA 601E bra +0x20 /* 00004EFA */ label00004EDC: 00004EDC 206D FB34 movea.l A0, [A5 - 0x4CC] 00004EE0 4868 0002 pea.l [A0 + 0x2] 00004EE4 206D FFC8 movea.l A0, [A5 - 0x38] 00004EE8 4868 0002 pea.l [A0 + 0x2] 00004EEC 486E FFF2 pea.l [A6 - 0xE] 00004EF0 486E FFEA pea.l [A6 - 0x16] 00004EF4 4267 clr.w -[A7] 00004EF6 42A7 clr.l -[A7] 00004EF8 A8EC syscall CopyBits label00004EFA: 00004EFA 41ED FFCC lea.l A0, [A5 - 0x34] 00004EFE D0EE FFFE add.w A0, [A6 - 0x2] 00004F02 0C10 0002 cmpi.b [A0], 0x2 00004F06 6606 bne +0x8 /* 00004F0E */ 00004F08 486E FFEA pea.l [A6 - 0x16] 00004F0C A8A4 syscall InvertRect label00004F0E: 00004F0E 526E FFFE addq.w [A6 - 0x2], 1 label00004F12: 00004F12 0C6E 0024 FFFE cmpi.w [A6 - 0x2], 0x24 /* '$' */ 00004F18 6D00 FF40 blt -0xBE /* 00004E5A */ 00004F1C 2F2D FFC8 move.l -[A7], [A5 - 0x38] 00004F20 A923 syscall EndUpdate 00004F22 261F move.l D3, [A7]+ 00004F24 4E5E unlink A6 00004F26 4E75 rts 00004F28 5550 subq.w [A0], 2 00004F2A 4441 neg.w D1 00004F2C 5445 addq.w D5, 2 00004F2E 5245 addq.w D5, 1 fn00004F30: 00004F30 4E56 FFF6 link A6, -0x000A 00004F34 426E FFFA clr.w [A6 - 0x6] 00004F38 6000 0072 bra +0x74 /* 00004FAC */ label00004F3C: 00004F3C 598F subq.l A7, 4 00004F3E 4879 736E 6420 push.l 0x736E6420 /* 'snd ' */ 00004F44 302E FFFA move.w D0, [A6 - 0x6] 00004F48 0640 012C addi.w D0, 0x12C 00004F4C 3F00 move.w -[A7], D0 00004F4E A9A0 syscall GetResource 00004F50 205F movea.l A0, [A7]+ 00004F52 2D48 FFFC move.l [A6 - 0x4], A0 00004F56 B0FC 0000 cmpa.w A0, 0x0 00004F5A 660C bne +0xE /* 00004F68 */ 00004F5C 4879 0000 063E push.l 0x63E 00004F62 4EBA D632 jsr [PC - 0x29CE /* 00002596 */] 00004F66 588F addq.l A7, 4 label00004F68: 00004F68 2F2E FFFC move.l -[A7], [A6 - 0x4] 00004F6C 4EAD 012A jsr [A5 + 0x12A /* export_33 */] 00004F70 302E FFFA move.w D0, [A6 - 0x6] 00004F74 48C0 ext.l D0 00004F76 E580 asl D0, 2 00004F78 41ED FFF8 lea.l A0, [A5 - 0x8] 00004F7C D1C0 add.l A0, D0 00004F7E 226E FFFC movea.l A1, [A6 - 0x4] 00004F82 2091 move.l [A0], [A1] 00004F84 302E FFFA move.w D0, [A6 - 0x6] 00004F88 48C0 ext.l D0 00004F8A E580 asl D0, 2 00004F8C 41ED FFFC lea.l A0, [A5 - 0x4] 00004F90 D1C0 add.l A0, D0 00004F92 598F subq.l A7, 4 00004F94 2F2E FFFC move.l -[A7], [A6 - 0x4] 00004F98 2D48 FFF6 move.l [A6 - 0xA], A0 00004F9C 4EAD 0122 jsr [A5 + 0x122 /* export_32 */] 00004FA0 201F move.l D0, [A7]+ 00004FA2 206E FFF6 movea.l A0, [A6 - 0xA] 00004FA6 2080 move.l [A0], D0 00004FA8 526E FFFA addq.w [A6 - 0x6], 1 label00004FAC: 00004FAC 0C6E 0001 FFFA cmpi.w [A6 - 0x6], 0x1 00004FB2 6D88 blt -0x76 /* 00004F3C */ 00004FB4 4E5E unlink A6 00004FB6 4E75 rts 00004FB8 494E chk.w D4, A6 00004FBA 4954 chk.w D4, [A4] 00004FBC 534F subq.w A7, 1 00004FBE 554E subq.w A6, 2 fn00004FC0: 00004FC0 4E56 FFFC link A6, -0x0004 00004FC4 206E 0008 movea.l A0, [A6 + 0x8] 00004FC8 41E8 0016 lea.l A0, [A0 + 0x16] 00004FCC 2D48 FFFC move.l [A6 - 0x4], A0 00004FD0 206E FFFC movea.l A0, [A6 - 0x4] 00004FD4 4250 clr.w [A0] 00004FD6 206E FFFC movea.l A0, [A6 - 0x4] 00004FDA 217C 0000 3A2E 0002 move.l [A0 + 0x2], 0x3A2E /* ':.' */ 00004FE2 2F2E FFFC move.l -[A7], [A6 - 0x4] 00004FE6 206E 000C movea.l A0, [A6 + 0xC] 00004FEA 4868 FFEA pea.l [A0 - 0x16] 00004FEE 42A7 clr.l -[A7] 00004FF0 4EAD 016A jsr [A5 + 0x16A /* export_41 */] 00004FF4 4E5E unlink A6 00004FF6 4E75 rts 00004FF8 4641 not.w D1 00004FFA 4B45 chk.w D5, D5 00004FFC 534F subq.w A7, 1 00004FFE 554E subq.w A6, 2 fn00005000: 00005000 4E56 0000 link A6, 0 00005004 302E 0008 move.w D0, [A6 + 0x8] 00005008 48C0 ext.l D0 0000500A E580 asl D0, 2 0000500C 41ED FFF8 lea.l A0, [A5 - 0x8] 00005010 D1C0 add.l A0, D0 00005012 302E 0008 move.w D0, [A6 + 0x8] 00005016 48C0 ext.l D0 00005018 E580 asl D0, 2 0000501A 43ED FFFC lea.l A1, [A5 - 0x4] 0000501E D3C0 add.l A1, D0 00005020 2F11 move.l -[A7], [A1] 00005022 2F10 move.l -[A7], [A0] 00005024 4EBA FF9A jsr [PC - 0x66 /* 00004FC0 */] 00005028 508F addq.l A7, 8 0000502A 4E5E unlink A6 0000502C 4E75 rts 0000502E 4D41 chk.w D6, D1 00005030 4B45 chk.w D5, D5 00005032 4E4F trap 15 00005034 4953 chk.w D4, [A3]